Zum Inhalt springen

Versandkostenfrei ab 30,00 Euro

Erstellt am 8. Juli 2003 · 10 Antworten · letzte Antwort am 6. September 2005

Tags: Frage

sevenfifty ·

Gibt es eine Möglichkeit die Versandkosten in Abhängigkeit der Warensumme auszuweisen.

z.B. Versandkostenfreie Lieferung ab 30,00 Euro

und Versandkosten von 7.50 Euro bei Warenwert unter 30,00 Euro. o.O

dj.​picasso ·

Hi,

ja, wenn Du es direkt in Deinen PHP-Code implementierst, ansonsten nicht.

Ich habe ja bereits angekündigt, dass es eine neue Version der Shop-Extension geben wird.
Die Doku ist bereits in Arbeit. Wenn sie fertig ist, dann kommt auch die neue Extension.

Ciao
Der DJ

Flink ·
sevenfifty schrieb

Gibt es eine Möglichkeit die Versandkosten in Abhängigkeit der Warensumme auszuweisen.

z.B. Versandkostenfreie Lieferung ab 30,00 Euro

und Versandkosten von 7.50 Euro bei Warenwert unter 30,00 Euro. o.O

von http://bananaguard.de:
Allerdings ist es hier die Stückzahl, von der es abhängt. D.h. es müßte für deinen Fall noch umprogrammiert werden. Vielleicht sollte man das ja ändern, weil es Sinn macht.

shipping {
  radio = 1
  10.title = Deutschland
  10.image.params = align=absmiddle
  10.priceTax.1 = 2.5
  10.priceTax.20 = 4.8
  10.priceTax.50 = 10
  10.priceTax.100 = 25
  10.priceTax.120 = 30
  10.priceTax.300 = 150
  10.priceNoTax = 2.5
  10.percentOfGoodstotal = 0
Billix ·

hast das nicht schon irgendwer fertig! da ich nicht so gut programmier kenntisse habe...

lg billix

davidfreax ·

hi,

bei mir funktioniert der code nicht:

10.priceTax.1 = 2.5
10.priceTax.20 = 4.8
10.priceTax.50 = 10
10.priceTax.100 = 25
10.priceTax.120 = 30
10.priceTax.300 = 150

da kommt bei mir dann immer 0,00 EUR Versandkosten. Sobald ich es wieder zurücksetzte auf
10.priceTax = 2.5
geht es. aber da hab ich ja dann keine unterschiedlichen versandkosten.
In der tt_products Manual steht bei priceTax folgendes:

Price of item, including VAT
(notice you have to calculate the VAT amount here by yourself!)

was ist damit gemeint?

david

Flink ·
davidfreax schrieb

bei mir funktioniert der code nicht:

10.priceTax.1 = 2.5
10.priceTax.20 = 4.8

da kommt bei mir dann immer 0,00 EUR

Hast du die tt_products 2.0.0 verwendet?

davidfreax schrieb

In der tt_products Manual steht bei priceTax folgendes:

Price of item, including VAT
(notice you have to calculate the VAT amount here by yourself!)

was ist damit gemeint?

Das ist der Preis inkl. MWSt.. Wie hoch der Betrag der Mehrwertsteuer ist, das wird hier nicht berechnet.

davidfreax ·
Flink schrieb

Hast du die tt_products 2.0.0 verwendet?

Ja.

Also das ganze sieht bei mir so aus:

plugin.tt_products.shipping.10.image >
plugin.tt_products.shipping.10.title = Versand nach Deutschland
plugin.tt_products.shipping.10.priceTax.1 = 3.00
plugin.tt_products.shipping.10.priceTax.3 = 5.50
plugin.tt_products.shipping.10.priceTax.5 = 9.00
plugin.tt_products.shipping.10.priceTax.10 = 11.00
plugin.tt_products.shipping.10.priceNoTax = 3.00
plugin.tt_products.shipping.20.image >
plugin.tt_products.shipping.20.title = Versand nach Österreich
plugin.tt_products.shipping.20.priceTax = 9.10
plugin.tt_products.shipping.20.priceNoTax = 9.10
plugin.tt_products.shipping.30.image >
plugin.tt_products.shipping.30.title = Versand in die Schweiz
plugin.tt_products.shipping.30.priceTax = 15.00
plugin.tt_products.shipping.30.priceNoTax = 15.00

Da kommt immer 0,00 EUR Versandkosten raus. Wenn ich es normal schreibe
plugin.tt_products.shipping.10.priceTax = 3.00
kommt 3,00 EUR raus.

Flink ·
davidfreax schrieb

Da kommt immer 0,00 EUR Versandkosten raus. Wenn ich es normal schreibe
plugin.tt_products.shipping.10.priceTax = 3.00
kommt 3,00 EUR raus.

Die Einstellungen stimmen!
Verwende im BASKET_TEMPLATE

<td colspan=5>
###GW1B###

###PAYMENT_SELECTOR###

###GW1E###
</td>
upstroke ·

Wenn ich das richtig verstanden habe müsste dies die Lösung für dich sein. Bei mir geht das bei der shopextension mkl_products wie folgt.

Im Seuptfeld folgendes eintragen:

plugin.tt_products{
  payment >
  payment {
  radio = 1 
  10.title = 2 Euro Rabatt bei Warenwert > 20 Euro.
  10.image.file =
  10.priceTax = 
  10.priceNoTax = 
  10.calculationScript = EXT:mkl_products/pi/products_comp_calcScript.inc
 }
}

Das Kalkulationsscript hat diesen Inhalt:

<?php

$baseAmountTax = $this->calculatedSums_tax["goodstotal"]+ $this->calculatedSums_tax["shipping"];
$baseAmountNoTax = $this->calculatedSums_no_tax["goodstotal"]+ $this->calculatedSums_no_tax["shipping"];

if($baseAmountTax >=20){
$this->calculatedSums_tax["payment"] = $this->calculatedSums_tax["payment"]-2.00;
}

if($baseAmountNoTax >=20){
$this->calculatedSums_no_tax["payment"] = $this->calculatedSums_no_tax["payment"]-1.68;
}

?>

Bitte daran denken, dass dieses Skript auch unter dem im Setup angegebenen Pfad liegt.