[TYPO3-shop] Problems after upgrade to 2.6.1

Franz Holzinger franz at ttproducts.de
Tue Oct 6 07:54:31 CEST 2009


Felix Buenemann a écrit :
> Hi Bernd,
> 
> Am 05.10.09 07:11, schrieb Bernd Schuhmacher:
>> Hi
>> Felix Buenemann schrieb:
>>> AND (products.inStock > 0)
>>>
>>> Is there a way to ingore stock quantity in products listing?
>> I think you have to set
>>
>> plugin.tt_products.alwaysInStock = 1
>> in the config of your template.
> 
> plugin.tt_products.AlwaysInStock = 1 was already present, but I added
This must be a lower case 'a' : always...

You could also use phpMyAdmin and run an update script to insert 
positive inStock values to all products.

> plugin.tt_products.showNotinStock = 1 which fixes the problem.
> 
> Note the different case, but both seem to be valid looking at the 
> default setup.
This only shows the products which are not in stock.

> Is this a bug in 2.6.1 or does it expect to have a stock quantity of at 
> least 1 in 2.6.1 and just doesn not decrease it?
> At least it was working differently in older versions.
In older versions of tt_products there has been an undocumented trick to 
insert -1 for inStock and these products have always been on stock. Now 
you have a checkbox 'always on stock' instead of it.
Negative values now have the meaning that the shop admin should order 
new products immediately because more of them have been ordered than 
there have been available.

- Franz




More information about the TYPO3-project-tt-products mailing list