How can I check that the current page is the cart page in theme. Liquid? I tried the page.handle == 'cart' but it is not working.
page.handle == 'cart'
You do not need a handle filter, you only use it Can:
handle
{% if template == 'cart'%} ... {% endif%}
No comments:
Post a Comment