Home > widget-integration > CombinedProductListingsController > getChildProductVariants
CombinedProductListingsController.getChildProductVariants() method
Signature:
protected getChildProductVariants(childProductId: string | number, requiredVariantId?: string | number): Promise<PreOrderVariant[] | null>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
childProductId |
string | number | |
|
requiredVariantId |
string | number |
(Optional) |
Returns:
Promise<PreOrderVariant[] | null>