Modified product.tpl shows qty in stock with options
Strange one this...
I have made modifications to product.tpl in order to show an 'in stock' icon if qty greater than 10 and a 'special order item' if below this.
It works great and primarily was developed to reduce the number of potential missed updates as stock comes in and out, therefore less p***ed off clients.
The mods themselves are seperate templates with a simple {if} {else} setup to control their display.
Problem is, if i try to apply options to the product, the modification disappears and is replaced by the quantity in stock in unformatted text!
Any idea what this might be?
|