| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Quantity Available - only show if 5 or less? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Is there a way to make the quantity appear on the product page only if there are 5 or less products left in inventory?
V Gold 4.0.18
__________________
~ Andrea Beight |
|||||||||
#2
|
|||||||
|
|||||||
![]() Surround the quantity display code with this:
{if $product.avail le 5} code {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hey Ryan
Do you know how to work this within the products page? It is working for me unless there are multiple options for that product. If there are mutiple options, it shows only the quantity of the first option available. I am recieving this error when I use the code: {$product.avail} on the products.tpl page. It is strange b/c that is the exact code on the product page - which shows the correct number of quantities. Thanks in advance, Weber
__________________
... v 4.0.18; 4.1 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|