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.

Variant

In a drawer cart you won't have access to the item.variant.id
The syntax required to add the variant id is different for each drawer cart.
Look at the rest of the drawer cart for clues on what to replace ???? with.

<span class="limoniapps-discountninja-cart-item-variant"style="display:none;">????</span>

It could be {{id}}, {{item.variant_id}} or any other variable.

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?