carolineschnapp / shipping-calculator

To use in Shopify to add a shipping rates calculator to the cart page. Requires jQuery.

Home Page:http://wiki.shopify.com/Adding_a_Shipping_Rates_Calculator_to_your_Cart_Page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question re: syntax

adamwooding opened this issue · comments

Hi @carolineschnapp ,

I hope you don't mind me asking this question. I noticed that in the shipping-calculator.liquid file, you have used these opening and closing tags <% %>. I can't seem to find any reference to the use of those tags. Can you please let me know what they do?

Thank you so much,
Adam Wooding

<% %> tag syntax is a part of Underscore.js/Lodash templates.

Shipping calculator uses the Underscore.js template to render itself on the page.

Hi @illarionvk

Thank you very much for your reply :)