The <salla-conditional-offer> web component enables dynamic presentation of offers and discounts based on the customer's cart status.
Information
Developers can use this component to enhance the user experience by automatically applying relevant offers, encouraging higher cart turnover and improved customer satisfaction. It can be enabled from the Merchant Dashboard > Marketing Tools > Conditional Offers tab.
Conditional offers are activated when the total value of the cart meets or exceeds a defined limit set by the Merchant from the Dashboard. Potential promotions include fixed / percentage discounts on the cart total or the addition of a free product. This applies on:
Number of products added in the cart.
Cart total value.
HTML
SASS
Note
No configurations are needed to use this component, as it is enabled/disabled from the Merchant’s dashboard which can be queried using: salla.config.get('store.features')