| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
free delivery text | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi i have added this to my site to display the text Free Delivery if the price is over бё499
{if $product.price gt 499.00}Б─╒ Free delivery on this item {/if} I would also like to include this text if the free delivery option on the admin side has been set to yes could someone let me know what code i would also need to include. Regards john bedstar.co.uk Version 3.X
__________________
https://www.bedstar.co.uk |
|||||||||
#2
|
|||||||
|
|||||||
![]() Is this a custom mod you have added?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() well sort of yes i just want to display a picee of text if certain statemnts are true i belive its something like the following
{if $product.price gt 499.00}Б─╒ Free delivery on this item{else if $product.free_shipping eq Y }Б─╒ Free delivery on this item {/if} my PHP is only beginner level so im not quite sure could someone clarify for me. Regards John xcart 3 x
__________________
https://www.bedstar.co.uk |
|||||||||
#4
|
|||||||
|
|||||||
![]() You are close, this should work:
{if $product.price gt 499.00}Б─╒ Free delivery on this item{elseif $product.free_shipping eq Y }Б─╒ Free delivery on this item {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|