Thread: Stock icons
View Single Post
  #2  
Old 09-19-2009, 03:14 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Stock icons

it probably depends on how you want to define low/med/normal etc,

basically, where your template currently displays the number in stock, you need to change it to an if statement along the lines of if the qty is less than x, do this etc

depending on your product range, the levels(s) that trigger the different icons etc might be the same for all, or you might need to define the levels for each product. You could do that with extra fields in your product, and then test against those extra fields.

It probably wouldn't be a big mod,

hth
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote