View Single Post
  #5  
Old 10-07-2009, 04:16 AM
 
joannet joannet is offline
 

Senior Member
  
Join Date: Mar 2006
Posts: 105
 

Default Re: Displaying number of items left when product quantity reaches certain level

thanks for the link to the thread, however it doesn't quite fit what I'm after.

The statement should be something like:

if qty is less than 11 but greater than 0, then display "Only qty left", otherwise if qty greater than 11, don't display any message.

Note that "Only qty left" will change as the qty drops - e.g. "Only 10 left", "Only 9 left".

[Note: if qty = 0, the product is not displayed at all - which can be enabled in admin anyway].

Thanks
__________________
/joannet/
X-Cart version 4.1.9 and above
Reply With Quote