---
title: "Shop errechnet falsche Summen (tt_products)"
url: "https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2005-12-21"
last_reply: "2005-12-21"
replies: 5
solved: false
page: 1
pages: 1
lang: "de"
---

# Shop errechnet falsche Summen (tt_products)

Extensions · 5 Antworten · gestartet 2005-12-21

## Eröffnungsbeitrag

**chris_sb** · 2005-12-21 · [Beitrag #1](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/1)

Hey,

leider berechnet mein Warenkorb immer 40€ zuviel!!!
Wo kann ich die Scripte zum Berechnen sehehn?

Bin doch bestimmt nicht der Einzige mit dem Probllem

gruss

## Antworten

### [#2](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/2) · Lexx · 2005-12-21

das problem hatte ich auch du hast dann in deinem ts einfach eine Klammer zu viel oder zu wenig schreib mal deinen code dann schau ich mal drüber oder du findest es lebst ;D

lg aleX

### [#3](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/3) · Flink · 2005-12-21

Ist bei dem Artikel vielleicht 'Sperrig' angekreuzt?   o.O

### [#4](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/4) · chris_sb · 2005-12-21

Die Option 'sperrig' seh ich beim Produkt-Datensatz gar nicht... habe tt_products installiert - wäre zk_products empfehlenswerter?

laut Template Analyzer gibt es keine falsche Klammern im TS.
Hier mal Teile aus dem TS:
wobei ich nicht nachvollziehen kann, wann Konfigurationsdaten für den Shop zu den Constants bzw. ins Setup geschrieben werden müssen.

**Constants:**

```typoscript
plugin.tt_products.file.templateFile = fileadmin/template/products_template_de.html
[globalVar = GP:L = 1]
plugin.tt_products.file.templateFile = fileadmin/template/products_template_en.html
[global] 
plugin.tt_products.orderNumberPrefix = 2005-
plugin.tt_products.PIDuserFolder = 18
plugin.tt_products.clickIntoBasket = 1
plugin.tt_products.basketPic = fileadmin/template/img/basket.gif
plugin.tt_products.color1 = #E7EFFE
plugin.tt_products.color3 = #04049A
plugin.tt_products.color2 = #B3D1E1

plugin.tt_products.PIDbasket = 41
plugin.tt_products.PIDthanks = 42
plugin.tt_products.PIDsearch = 43
plugin.tt_products.PIDitemDisplay = 45
plugin.tt_products.PIDfinalize = 47

plugin.tt_products.AGBattachment = fileadmin/download/AGB_de.pdf
plugin.tt_products.update_code = shredda
plugin.tt_products.domain = www.admingtool.de
plugin.tt_products.advanceOrderNumberWithInteger = 999
plugin.tt_products.alwaysAdvanceOrderNumber = 1
plugin.tt_products.max_note_length = 10000
plugin.tt_products.maxW_list = 125
plugin.tt_products.maxW_single = 125
plugin.tt_products.maxH_list = 152
plugin.tt_products.wrap2 = |
plugin.tt_products.wrap1 = |
plugin.tt_products.agbtarget = _self
plugin.tt_products.priceDecPoint = ,
plugin.tt_products.clickEnlarge_list = 1
plugin.tx_srfeuserregister_pi1.email = info@admingtool.de
plugin.tx_srfeuserregister_pi1.maxImages = 0
plugin.tt_products.newItemDays = 21
```

**Setup**

```typoscript
plugin.tt_products {
  payment >

payment {
  radio = 1 
  TAXpercentage = 16.00
  10.title = Vorkasse / Überweisung
  20.title = PayPal
 20.image.file = media/logos/paypal.gif
 20.percentOfTotalShipping = 0.04

  30.title = Visa Card
  30.image.file = media/logos/visa.gif
  30.discountDeactive = 1
  30.priceTax.1 = 4
  30.priceTax.6 = 5.8
 } 

pricecalc {
type=count
filed=price
10.prod.1=150
10.prod.2=590
}

}
plugin.tt_products.calculationScript = fileadmin/template/calc.inc
plugin.tt_products.loginUserInfoAddress = 1
plugin.tt_products.PIDmemo = 48
plugin.tt_products.useStaticInfoCountry = 1
plugin.tt_products.payment.10.title = Überweisung
plugin.tt_products.requiredInfoFields = name, address, email
plugin.tt_products.listImage.imageLinkWrap.enable = 0
```

### [#5](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/5) · Flink · 2005-12-21

> **chris_sb schrieb:**
>
> ```typoscript
> plugin.tt_products.calculationScript = fileadmin/template/calc.inc
> ```

Wird da auch alles richtig berechnet?  o.O

### [#6](https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products/6) · chris_sb · 2005-12-21

zum Glück wird in calc.inc alles richtig gerechnet  :)

habe den Fehler jetzt gefunden!!
Im Template hatte ich den Marker fürs Shipping rausgelöscht, da es bei uns kein shipping geben sollte, sondern nur downloads (<http://www.admingtool.de>)
Beim Berechnen haben dann Werte gefehlt und es wurde standardmäßig die erste Mögliche Auswahl getroffen (Shippingkosten: 40€). Jetzt hab ich den Marker wieder im html-template drinn und im Typoscript folgendes ergänzt:

```typoscript
plugin.tt_products {
  shipping > shipping {
  10.title = Download
 } 
}
```

Jetzt klappt's auch mit dem Nachbarn.

<http://www.admingtool.de/fileadmin/template/img/admingtool_tt_products.jpg>

Gibt es eigentlich ein Paypal Gateway für tt_products?
Würde vom Warenkorb aus gerne direkt zu Paypal weiterleiten

gruß
Christoph[/url]

---

Quelle: „Shop errechnet falsche Summen (tt_products)“, typo3.net, https://www.typo3.net/d/35190-shop-errechnet-falsche-summen-tt-products
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
