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

If price is >150 then show this picture ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-21-2003, 07:11 AM
 
iCARus iCARus is offline
 

Member
  
Join Date: May 2003
Location: Slovenia
Posts: 21
 

Default If price is >150 then show this picture ?

Hello,

i'd like to show on featured product image about free shipping if price is higer that $150.
How i do that ?


Thanks,
iCARus
Reply With Quote
  #2  
Old 10-21-2003, 02:18 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

Take a Look at Following Forum:
http://forum.x-cart.com/viewtopic.php?t=5799


It will display free shipping image on products which have free shipping.

I think if your product costs over $150.00 than You can just set free shipping directly in product modify section.

and free shipping image will display. You probably will have to modify something to also display it on featured products.
Reply With Quote
  #3  
Old 10-21-2003, 02:51 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

you almost had the code in your question

{if $products[product].price > 150}
then show this picture
{/if}

to go in the product list page

or
{if $product.price > 150}
then show this picture
{/if}

for the detail page

hth
__________________
ex x-cart guru
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 02:43 PM.

   

 
X-Cart forums © 2001-2020