Hallo
Ich habe das Problem, dass der Stock meiner Produkte bei Bestellungen nicht reduziert wird.
plugin.tt_products.alwaysInStock ist auf 0 gesetzt.
Wo könnte der Fehler noch liegen?
Danke im Voraus 🙂
-Gsicht
P.S.: Ich benutze keine Artikel, nur Produkte. TYPO3 4.0, tt_products 2.4.11.
class.tx_ttproducts_order.php
Zeile 430 muß lauten
if (!$this->conf['alwaysInStock'] && !$this->conf['AlwaysInStock']) {
$rc = $viewTable->reduceInStock($this->basket->itemArray, $this->conf['useArticles']);
}
Flink schrieb
class.tx_ttproducts_order.php
Zeile 430 muß lauten
if (!$this->conf['alwaysInStock'] && !$this->conf['AlwaysInStock']) {
$rc = $viewTable->reduceInStock($this->basket->itemArray, $this->conf['useArticles']);
}
So lautet die Zeile bereits...
-Gsicht
Edit: Anscheinend muss sowohl in den Constants AlwaysInStock = 0 (man achte auf das grosse A), als auch im Setup alwaysInStock = 0 gesetzt werden, dann funktioniert es 😃