Zen Cart Logo
Forums / General Questions / Subtract stock true (only for certain products)

Subtract stock true (only for certain products)

Locked

Views: 912

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
17 Dec 2008, 11:13 AM
#1
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Subtract stock true (only for certain products)

It's possible chaneg script to subtract stock for all products except when quantity is = 1333?
I'm explain better: in product_info_ display I've change script into

<?php echo (($products_quantity ==1333) ? '<li>'.TEXT_IN_STOCK . zen_image('images/dispo/3-5d.gif', TEXT_ORDINABILE2).'<FONT COLOR=#CC00CC><b> '.TEXT_ORDINABILE.'</b></FONT>'.dispo.'</li>' : '') . "\n"; ?>

to have this: http://www.100asa.it/rotolo-etichette-75x36-p-1446.html
But I want quantity remain always the same.
I hope I'm clear. Thanks