All Collections
Setting up Dynamic Pricing
Cart page
Set up Dynamic Pricing on a Drawer Cart
Set up Dynamic Pricing on a Drawer Cart

Learn how to make the necessary changes to your theme files to enable Dynamic Pricing on the cart

Bart Coppens avatar
Written by Bart Coppens
Updated over a week ago

Not sure how to edit your theme? Read this article first:
โ€‹http://support.limoniapps.com/setting-up-dynamic-pricing/editing-your-theme

Finding the drawer cart

A drawer cart can typically be found in a file with the name drawer cart, ajax cart or mini cart in it.

Modifications

The changes required for a drawer cart are almost identical to the ones documented for a normal cart here: http://support.limoniapps.com/setting-up-dynamic-pricing/cart-page/set-up-dynamic-pricing-on-the-cart

There are two differences:

Root

There is one exception, on the root you'll need limoniapps-discountninja-drawercart-root instead of limoniapps-discountninja-cart-root.

Subtotal price

On the drawer cart the subtotal price must be marked. If the subtotal price is not marked the app does not successfully detect the drawer cart.

JavaScript

Note that you may need to find the JavaScript file that prepares the data for the template to find the name of the variable or create the variable.

Did this answer your question?