Cookie Consent by Free Privacy Policy Generator Update cookies preferences

Add messaging to the dynamic/drawer cart

To add messaging to the dynamic/drawer cart, do the following:

  1. Navigate to your theme.liquid file and add the standard code snippet.
  2. Find the required selector on the drawer cart.
  3. Add the selector to the code and enable the dynamic cart integration.

Example Code snippet for Clearpay UK

// var clearpay_dynamic_cart_integration_enabled = true;

// var clearpay_dynamic_cart_selector = '.previewCartTotalsPrice';

// var clearpay_dynamic_cart_observer_target = '#CartDrawer';

Clearpay UK example (Ella Theme)

Example of the completed Sliding Cart