Franz Holzinger

Verse of the day

Denn es ist ein Gott und ein Mittler zwischen Gott und den Menschen, nämlich der Mensch Christus Jesus, der sich selbst gegeben hat für alle zur Erlösung, daß solches zu seiner Zeit gepredigt würde;
1 Timotheus 2:5-6

© Bible Gateway's Verse of the Day


autor  
9-07-13 16:51:00 Shipping Fee according to the number of ordered goods
NoviData
we bought a version of tt_products (2.7.1) and we need help for a customer request.
We need to set Shipping Fee according to the number of ordered goods.

For example:
From 1 to 4 items = Shipping fee 4 euro
From 5 to 8 items = Shipping fee 8 euro and so on…

How can we set that?

Thanks for your attention
10-07-13 17:33:29 Shipping cost depending on count of products
Franz Holzinger
plugin.tt_products {
shipping {
30.title = Shipping Costs
30.price.type = count
30.price.1 = 4
30.price.5 = 8
30.price.9 = 12
}
}

11-07-13 09:59:38 Shipping cost depending on count of products and type of product
NoviData
Thanks for the answer Frantz,
In fact we have already set the shipping costs same as you have suggested to us and it is working fine.

What we need now is the shipping costs different by ITEM and quantity

Eg.
ITEM 1 = 10.price.1=8
10.price.2=16

ITEM 2 = 10.price.4=8
10.price.8=16

I'll post the typoscript we are using now, just in case you'll need it

plugin.tt_products {

shipping {
TAXpercentage = 21
radio = 0
10.title = Courier
10.price.type = count
10.price.noCostsAmount = 240
10.price.1=8
10.price.2=16
10.price.3=24
10.price.4=32
10.price.5=40
10.price.6=48
10.price.7=56
10.price.8=64
10.price.9=72
10.price.10=80
10.price.11=88
10.price.12=96
10.price.13=104
10.price.14=112
10.price.15=120
}
}

Thanks for the help
12-07-13 07:46:25 shippingcalc in tt_products 2.10.0
Franz Holzinger
The where condition is available for the shippingcalc in tt_products 2.10.0.

plugin.tt_products {
shipping {
TAXpercentage = 21
radio = 0
10.title = Courier
10.price.type = count
10.price.noCostsAmount = 240
10.price.calc {
use = 10,20
}
}
}

plugin.tt_products.shippingcalc {
10.sql.where = itemnumber = ITEM1
10.type = count
10.price.2=16
20.sql.where = itemnumber = ITEM2
20.type = count
20.price.8=16
}
16-07-13 11:59:57 shipping calc give shipping fee 0
NoviData
we tried that typoscript code but it doesn't work.
It gives always shipping fee 0.

Here is the part of the code:

plugin.tt_products {
shipping {
TAXpercentage = 21
radio = 0
10.title = Corriere
10.price.type = count
10.price.noCostsAmount = 240
10.price.calc {
use = 10,20
}
}
}

plugin.tt_products.shippingcalc {
10.sql.where = itemnumber = 2010M1
10.type = count
10.price.2=16
20.sql.where = itemnumber = 2010B3
20.type = count
20.price.8=16
}

PS: In tt_products 2.7.0 manual there is the "Shipping cost calculation" part and the example in there use the where condition.
22-07-13 13:36:17 not in tt_products 2.7.x
Franz Holzinger
This setup is not available for tt_products 2.7.x.
25-07-13 11:04:49 Thanks
NoviData
That's why it doesn't work, thanks for the help.

NoviData
< Zurück zum Forum