Not sure how to edit your theme? Read this article first:

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.


The changes required for a drawer cart are almost identical to the ones documented for a normal cart here:

There are two differences:


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


In a drawer cart you won't have access to the
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.


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?