| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
{if $product.price eq 0} .... | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
{if $product.price eq 0} ....
If a product is priced at 0, I need there to be a message stating 'Contact For Current Pricing'.
The closest I have found is the post below, however it didn't apply to my Xcart 4.3.0 because I did not find a price section in customer/main/product.tpl, nor an 'add to cart' section??? Please help. "I tried several variables to find the one for price and the following is what I came up with. I changed the product price to zero 0, then I created a label as Available Soon, and added the following in customer/main/product.tpl before the Price section as..... {if $product.price eq 0}<div><font class="ProductDetailsTitle">{$lng.lbl_available_so on}</font></div> {else} I closed the {/if} after my add to cart, this way I removed the price, quantity and add to cart for those products that are not available for sale, but allows them to show on our store."
__________________
-- Christopher XCart 4.3.0 Windows "Do or do not; there is no try." Yoda |
|||||||
#3
|
|||||||
|
|||||||
Re: {if $product.price eq 0} ....
Thank you very much!!! I owe you one. You rock!
__________________
-- Christopher XCart 4.3.0 Windows "Do or do not; there is no try." Yoda |
|||||||
#4
|
|||||||||
|
|||||||||
Re: {if $product.price eq 0} ....
buy him a steak! or just hit the little thanks button
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: {if $product.price eq 0} ....
Moved this to X-Cart Customization > Storefront Design & Template Editing in v 4.2.x and 4.3.x
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
|
|||
X-Cart forums © 2001-2020
|