Home > widget-integration > CartDrawerRecommendationController > getAddToCartButtonSelector

CartDrawerRecommendationController.getAddToCartButtonSelector() method

Get the CSS selector for Add to Cart buttons in cart drawer recommendations. Override this method to use a different button selector.

Signature:

protected getAddToCartButtonSelector(): string;

Returns:

string

CSS selector string for the Add to Cart buttons