Hallo Typo3 Gemeinde,
ich habe schon das ganze Forum durchsucht, Posts gefunden, die mir nicht weitergeholfen haben.
Ich lege ein Produkt an, setze das auf z.B. 1 Stück. In der MySql Tabelle "inStock" ist es auch mit "1" eingetragen. Habe im Setup als auch in Cst "plugin.tt_products.alwaysInStock = 0". Kaufe ich ein Produkt wird es nicht reduziert. In der MySQL Tabelle steht nach wie vor "1". Wenn ich es auf "0" setzte ist der Artikel verschwunden.
Jetzt frage ich mich, warum wird der Wert in der Tabelle nicht reduziert. Ich finde den Fehler einfach nicht.
Hier mein Setup des Shop TMP, wobei ich schon alles mal auskommentiert hatte, eben nur plugin.tt_products.alwaysInStock = 0 setzte.
tt_content.textpic.20.1.imageLinkWrap.bodyTag = <body bgcolor="#33CC00">
page.1 = TEMPLATE
page.1 {
template = FILE
template.file = fileadmin/tmp2.html
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
subparts.RIGHT < styles.content.getRight
}
plugin.tt_products.alwaysInStock = 0
plugin.tt_products {
statusCodes {
# 1: Eingehende Bestellung
1 = Bestellung
# 2-49: Nutzung durch Shopadmin
2 = Ihre Bestellung ist eingegangen
10 = Der Shop erwartet Waren eines Drittanbieters
11 = Der Shop erwartet Ihren Zahlungseingang
12 = Der Shop erwartet Ihre Materiallieferung
13 = Die Bestellung ist bezahlt
20 = Ihre Bestellung wurde versandt
21 = Geschenkgutscheine wurden versandt
30 = Die Waren mussten für Sie bestellt werden.
# 50-99: Nutzung durch den Kunden
# 50-59: Generelle, statische Meldungen vom Kunden (Drop-Down Kommentar-Header)
50 = Kunde möchte Bestellung stornieren
51 = Nachricht des Kunden an den Shop
# 60-69: Spezielle Meldungen
60 = Send gift certificate message to receiver
# 100-299 : Bestellung abgeschlossen.
100 = Die Bestellung ist versandt und abgeschlossen
101 = Die Bestellung ist abgeschlossen
200 = Die Bestellung wurd storniert
statusDate_stdWrap.strftime= %e-%m-%y %H:%M
orderDate_stdWrap.strftime= %e-%m-%y
}
stdSearchFieldExt = subtitle
##This fills the marker ###DOMAIN### with your Domain
plugin.domain = pxxxx.typo3server.info
}
plugin.tt_products.shipping >
## shipping config:
plugin.tt_products.shipping {
TAXpercentage = 0
10.title = DHL
10.priceTax = 10,80
10.excludePayment = 40
#20.title = Paketdienst
#20.priceTax = 12
40.title = Selbstabholer
40.excludePayment = 10,50
}
plugin.tt_products.payment >
## payment config:
plugin.tt_products.payment {
radio = 1
TAXpercentage = 16
10.title = Vorkasse
10.priceTax =
10.calculationScript = EXT:tt_products/pi/products_comp_calcScript.inc
40.title = Zahlung bei Abholung
40.priceTax = 0
40.percentOfGoodstotal = 0
50.title = Nachnahme
50.image.file =
50.priceTax = 4
}
Constants
plugin.tt_products {
orderBy = title
file.templateFile = fileadmin/template_de.html
}
plugin.tt_products.wrap2 = <span class="tx-ttproducts1"> | </span>
plugin.tt_products.wrap1 = <span class="tx-ttproducts2"> | </span>
plugin.tt_products.orderEmail_fromName = GmbH
plugin.tt_products.limit = 4
plugin.tt_products.priceDecPoint = ,
plugin.tt_products.maxW_list = 100
plugin.tt_products.TAXpercentage = 16
plugin.tt_products.orderEmail_from = shop@xx.de
plugin.tt_products.maxW_listcat = 100
plugin.tt_products.maxH_listcat = 100
plugin.tt_products.maxH_list = 100
plugin.tt_products.orderEmail_subject = Ihre Bestellung
plugin.tt_products.orderEmail_htmlmail = 1
plugin.tt_products.basketMaxQuantity = 10000
plugin.tt_products.displayBasketCatHeader = 0
plugin.tt_products.PIDstoreRoot = 5
plugin.tt_products.orderEmail_to = shop@xx.de
plugin.tt_products.basketPic = kaufen.gif
plugin.tt_products.createUsers = 0
plugin.tt_products.PIDbasket = 181
plugin.tt_products.domain = shop.xx.de
plugin.tt_products.clickIntoBasket = 0
plugin.tt_products.maxW_single = 150
#plugin.tt_products.alwaysAdvanceOrderNumber = 1
#plugin.tt_products.quantityIsFloat = 1
#plugin.tt_products.useArticles = 1
plugin.tt_products.alwaysInStock = 0
Bitte um Hilfe!
Viele Grüße
Jan