![]() |
Re: Adding text to products.tpl
that would be the out of stock items.
|
Re: Adding text to products.tpl
In product page:
Try this: {if $product.avail eq "0" or if $product.avail lt "0" } Enter your text here.. {/if} |
Re: Adding text to products.tpl
that didn't work. There has to be a way to get the pre-order value because product.tpl is getting it just fine but products.tpl isn't.
|
Re: Adding text to products.tpl
Hi,once you said i have tested it in both products.tpl and product_t.tpl.
It is coming up. So try it again.Even you can see the $products[product].avail in theabove mentioned file by default because xcart have already used that value to check some other condition. Quote:
|
Re: Adding text to products.tpl
Aren't you kind of beating yourself up on this? What it seems you are trying to do is sell a product that is out of stock (pre-order IS out of stock). Wouldn't the easy solution be to add the number you have on order for the pre-ordered items and sell them normally as you would a "backordered" item?
|
All times are GMT -8. The time now is 11:24 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.