Home > widget-integration > CombinedProductListingsService > initCombinedListingCTAButtons
CombinedProductListingsService.initCombinedListingCTAButtons() method
Initialize CTA buttons (e.g. "Select options") for combined listing products, by adding necessary metadata and updating the label for screen readers.
Signature:
initCombinedListingCTAButtons(container: HTMLElement, selectOptionsLabel: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
container |
HTMLElement | |
|
selectOptionsLabel |
string |
Returns:
void