REG: Mini Cart Template Page with Liquid Tag

Pon
New Member
2 0 0

Hi,

 

I tried to render my custom liquid page in mini-cart-template.liquid 

{% include 'cart-my-add-on' %}   or {% render 'cart-my-add-on' %} 

 

but it is not rendered in the minicart page. Also Is it possible to update my minicart page based on the  certain condition

 

This is the below code, I added in the minicart. but not works.

{% if amount > 50%}

{% render 'cart-my-add-on' %}

<%endif%>

 

 

Is there anyway to achieve this functionality in theme.js.liquid?

how to achieve this, please help.

 

0 Likes