Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Free Shipping checked = Show "Free Shipping" image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-29-2006, 07:25 PM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default 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.
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #2  
Old 06-29-2006, 08:11 PM
  davidsaldana's Avatar 
davidsaldana davidsaldana is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 187
 

Default

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
__________________
4.4
Code:
Hello World
Reply With Quote
  #3  
Old 06-29-2006, 09:40 PM
 
TJ Stephens TJ Stephens is offline
 

Advanced Member
  
Join Date: May 2005
Location: California
Posts: 94
 

Default

Use the following if/then statement:
Code:
{if $product.free_shipping eq "Y"}{/if}
__________________
X-Cart Pro 4.1.11 (Live)
XRMA
XAFF
XAOM
DSEFU Pro
XGift Reg
Firetank Feed Manager
BCSE Shipping Calculator
XcartMod Dynamic Images
Reply With Quote
  #4  
Old 06-30-2006, 05:51 AM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

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
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #5  
Old 07-06-2006, 10:15 PM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

Got this working, you can see a short how-to here:
http://forum.x-cart.com/viewtopic.php?p=144546#144546
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:07 PM.

   

 
X-Cart forums © 2001-2020