Home > widget-integration > CombinedProductListingsController > getCombinedListingVariantForCart
CombinedProductListingsController.getCombinedListingVariantForCart() method
Return the variant for cart actions: child, parent fallback, or null when pending.
Signature:
getCombinedListingVariantForCart(getSelectedVariant: () => PreOrderVariant | null): PreOrderVariant | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
getSelectedVariant |
() => PreOrderVariant | null |
Returns:
PreOrderVariant | null