[TYPO3-shop] problem with stock management
Franz Holzinger
franz at fholzinger.com
Fri May 12 20:49:59 CEST 2006
Hello Aurélien,
> Excuse me but I don't understand how to reduce the number in stock after
> orders.
> In the documentation I see : "If you have set 'AlwaysInStock=1' then this
> item will always be available and visible. Otherwise the number of products
> will be reducted with each order." So I tried with 'AlwaysInStock=0' but
> there no effect. I may misunderstood something, sorry.
Unfortunately we have now one problem here.
The correct naming is alwaysInStock and not AlwaysInStock! But both are
allowed at the moment. However the manual says it is 'alwaysInStock'
because all names for constants and setup have a starting lower case
letter. Except those with 3 capital letters at the start.
This error comes from a wrong automatic generation of a upper case
letter in the OpenOffice writer.
As soon as one of them is set, this would decrement the number in stock
for all products.
You can also set onStock for each product to -1. Then only those
products will always be on stock.
Greets,
Franz
More information about the TYPO3-project-tt-products
mailing list