![]() |
{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." |
Re: {if $product.price eq 0} ....
for 4.3 look in skin1/customer/main/product_details.tpl
|
Re: {if $product.price eq 0} ....
Thank you very much!!! I owe you one. You rock!
|
Re: {if $product.price eq 0} ....
buy him a steak! or just hit the little thanks button :)
|
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
|
All times are GMT -8. The time now is 10:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.