X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Free Shipping checked = Show "Free Shipping" image (https://forum.x-cart.com/showthread.php?t=22897)

taltos1 06-29-2006 07:25 PM

Free Shipping checked = Show "Free Shipping" image
 
Hello,
At the bottom of the page when you are adding a product you can check off a box for free shipping. My question is if that box is checked off, is there a way to automatically add a small "FREE SHIPPING" icon to the top of the product page? Or even the small view when you are looking at the category view?
Some {if=} {then} type smarty statement. I think this would really be great. Thanks a lot.

davidsaldana 06-29-2006 08:11 PM

I would love to have this feature as well. It would also be great if that same icon / image/ text could show up on the products page when customers are comparing the various items for sale. Any help on this would be greatly appreciated!!!!

-David

TJ Stephens 06-29-2006 09:40 PM

Use the following if/then statement:
Code:

{if $product.free_shipping eq "Y"}{/if}

taltos1 06-30-2006 05:51 AM

Thanks I will try that out. ALso, I remember I saw how to call an image in the skin1 image directory it was something like
<img src={imagedir}/freeshipping.gif"> I tried that but it did not work, anyone have the EXACT coding for this?
Thanks

taltos1 07-06-2006 10:15 PM

Got this working, you can see a short how-to here:
http://forum.x-cart.com/viewtopic.php?p=144546#144546


All times are GMT -8. The time now is 10:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.