![]() |
Re: Adding Free Shipping Image
Code changed as per Balinor recommendations.
Works perfect!!!!! |
Re: Adding Free Shipping Image
I am trying to learn all this.
Here is a copy and past of the code from the other thread. {if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/Free_Ship1.jpg">{/if} As for the code I used, I changed the image name, but the code is from on sale, I looked at his code to see what I was doing wrong. He does not have the trailing slash or the alt= image tag. Should I put the alt=image in his code. Thank you for the help!! |
Re: Adding Free Shipping Image
Your image code was different, you were missing the closing > which broke the tag. The alt is not essential, but if you want a valid site both the alt and the / are necessary, yes.
|
Re: Adding Free Shipping Image
Anyone know the syntax to make this work in LiteCommerce?
|
Re: Adding Free Shipping Image
I have the image showing on the product page but in the listing it will not appear using
{if $products[product].free_shipping eq 'Y'}<img src="{$ImagesDir}/free_shipping.gif" alt="Free Shipping" />{/if} this is in 4.2.2 - any ideas..could the image be too big perhaps? |
All times are GMT -8. The time now is 02:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.