Shipping note on Product page based on Vendor

Highlighted
New Member
1 0 0
Hi There 
I am using POP and new to liquid and want to display shipping notes based on the Vendor. So my local shipping I charge for but international shipping  I mark it as Free Shipping 
I had the below working perfectly but only for single variant items. 
 
{% for variant in product.variants %} 
    {% if variant.weight > 0 %} 
<p style="text-align:center; font-size:100%; color:#000000">Shipping rates: R75.00 for this product.</p>
  {% else %} 
<p style="text-align:center; font-size:150%; color:#E32C2B">Woo Hoo This Product qualifies for FREE SHIPPING!</p>
{% endif %} 
{% endfor%}
 
The multiple variants give me this , as there are three variants in this .I cant seem to get the right code for listing only one instance.
 
As I am new to this please post the correct code onto my code above 
 

 


Woo Hoo This Product qualifies for FREE SHIPPING!

Woo Hoo This Product qualifies for FREE SHIPPING!

Woo Hoo This Product qualifies for FREE SHIPPING!

This is an international import,Please allow 10 to 25 working days for delivery your item/s.

 

Regards

 

Peter 

0 Likes