Add messaging to the dynamic/drawer cart
To add messaging to the dynamic/drawer cart, do the following:
- Navigate to your
theme.liquid
file and add the standard code snippet. - Find the required selector on the drawer cart.
- 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)
![](https://files.readme.io/2180b25-image_2.png)
Example of the completed Sliding Cart
![](https://files.readme.io/328eac9-image_3.png)
Updated 1 day ago