html - How to add " You save $xxx " in category / product listing page in Bigcommerce? -


we have option add " save $xxx.xx " text on product page in bigcommerce using variable %%global_yousave%%

which show special price , savings :- http://screencast.com/t/dukulaqmil

but have similar variable category page? mean can show similar on category page?

so can add similar text in category page.

thank in advance.

i've tried make %%global_yousave%% work on categoryproductsitem.html snippet , wasn't successful.

i have done variations of various map policies in jquery. can try in category page. hope helps:

$('.retailpricevalue').each(function(){ var savevalue = ($(this).html().substring(1)) - ($(this).siblings('.saleprice').html().substring(1)); savevalue = savevalue.tofixed(2); $(this).siblings('.saleprice').append( "<br /><b> save: $" + savevalue + "</b>" ) }); 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -