[TYPO3-shop] shipping 0.00 for products stored in a special storage folder
Franz Holzinger
franz at fholzinger.com
Tue Jul 22 11:21:27 CEST 2008
Daniel Ciunkiewicz a écrit :
> I've a tt_products running on one of sites made by me. At the beginning
> there shall be only books with a shipping cost of 3.20 EUR (no matter how
> many books are in the basket). I've declared something like this:
> plugin.tt_products.shipping.10.price = 3.20 and it works fine, but the
> customer needs to sell e-books too and there is no sense to add shipping
> price for a digital product.
> Please let me know if there is any possibility to declare special shipping
> price of 0.00 EUR for products stored in one storage folder (or maybe of one
> category) and how I could handle something like this:
> - till there are only products like e-books in the basket, there should be
> no costs for shipping
> - if there is not only an e-book but normal book in the basket too, the
> shipping cost should ne 3.20 EUR.
You can add a shpping price based on the weight.
priceFactWeight = ...
Or in tt_products 2.8.0 you can add simple where clauses to the shipping
costs:
plugin.tt_products.shipping {
10.title = Parcel
10.price.calc {
use = 10
}
}
plugin.tt_products.shippingcalc {
10.type = price
10.sql.where = category = 12
10.prod.0 = 3.20
}
This will cost 3.20 Euro for all products of category 12.
Franz
More information about the TYPO3-project-tt-products
mailing list