Free Shipping Indicator

Printer-friendly version    Send to friend    3 replies
Kevin Swartz
User offline. Last seen 2 weeks 3 days ago.

 In the premium web store is there a way to indicate on the item page that the item qualfies for free shipping?

0
Your rating: None
Nicholas Hartman
User offline. Last seen 1 week 3 days ago.
RE: Free Shipping Indicator

 I'm not sure if there is a direct way to do it but an easy little script can be a solution.. either pull the cost of shipping for the item or make an item attribute {{FREE SHIPPING}} and it can either equal Y or N this is set up to show an image you can have it show text or what ever.. hope this helps.. 

<script type="text/javascript">
var freeship = "{{FREE SHIPPING }}"
 
if (freeship == "Y")
{
document.write('<p align="center"><img src="http://www.affordabletool.com/images/ad-free-shipping.jpg" alt="Free Shipping!" /></br>')
}
else if (freeship == "N")
{
document.write('')
}
else if (freeship == "")
{
document.write('')
}
else
{
document.write('')
}
</script>

Sincerely,

Nick Hartman
937-901-8542
nhartman@mydysfunction.com
www.affordabletool.com
www.toolzunlimited.com 

 

Sean Casilli
User offline. Last seen 4 hours 17 min ago.
RE: Free Shipping Indicator

Very cool, however - i noticed after i started using this line of code, all my items with variations the image broke and has this at the top of the item page:

"; store_item['var_counts'] = [2]; store_item['var_names_display'] = ["Sizes"]; store_item['var_names_values'] = ["DD0"]; store_item['var_choices_display_0'] =["Small","Medium"]; store_item['var_choices_values_0'] = ["0","1"]; 

any thoughts?

Sean Casilli
User offline. Last seen 4 hours 17 min ago.
RE: Free Shipping Indicator

nevermind. I moved the java script from the layout HTML section up to the subtitle HTML section. All good now.