Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-shop] Qty based percentage discount not working,and exception for some products within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi! I need to apply a discount of 10% for purchases of 12 pieces and more. This should be done ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi!
I need to apply a discount of 10% for purchases of 12 pieces and more. This should be done with: plugin.tt_products.discountprice.10 { type = price prod.type = percent prod.0 = 0 prod.12 = 10 } But this config is not working with tt_products 2.6.0. I need something else? And also, is possible to set exceptions? In practice some specific products will not have any discounts... Regards, Juan Pablo Villaverde jpablo (AT) omnisciens (DOT) com http://www.omnisciens.com _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
Hello Juan,
I'm not sure, if there's another way but I think you only have the possibility to use this function in connection with certain prices. Like this: # for activation plugin.tt_products.getDiscountPrice = 1 plugin.tt_products.discountprice { 10.type = count 10.field = price 10.additive = 1 10.prod.1 = 39.90 10.prod.10 = 38.90 10.prod.100 = 36.90 } so you get the discount for every product with the price 39.90. but you have to define it for every price you want to be reduced. additive tells you, that the amount of all the products you buy and you have defined are counted. without additive, you get the discountprice only, when you buy 10 pieces of the same product. greetz Steffi "Juan Pablo Villaverde" <jpablo (AT) omnisciens (DOT) com> schrieb im Newsbeitrag news:mailman.1.1215810798.23462.typo3-project-tt-products (AT) lists (DOT) netfielders.de... > Hi! > > I need to apply a discount of 10% for purchases of 12 pieces and more. > This should be done with: > > plugin.tt_products.discountprice.10 { > type = price > prod.type = percent > prod.0 = 0 > prod.12 = 10 > } > > But this config is not working with tt_products 2.6.0. I need something > else? > > And also, is possible to set exceptions? In practice some specific > products will not have any discounts... > > Regards, > > Juan Pablo Villaverde > jpablo (AT) omnisciens (DOT) com > http://www.omnisciens.com > _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#3
|
|||
|
|||
|
Hello Juan,
> I need to apply a discount of 10% for purchases of 12 pieces and more. This > should be done with: > > plugin.tt_products.discountprice.10 { > type = price > prod.type = percent > prod.0 = 0 > prod.12 = 10 > } > > But this config is not working with tt_products 2.6.0. I need something > else? I think this has been implemented in tt_products 2.7.0. > And also, is possible to set exceptions? In practice some specific products > will not have any discounts... You can add a simple WHERE clause. discountprice.10 { type = count sql.where = color = 'red' prod.type = percent prod.0 = 0 prod.12 = 10 } Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-shop] percental discount | Robert Grede | typo3-project-tt-products@lists.netfielders.de | 1 | 17.03.2008 08:15 |
| [TYPO3-shop] Discount code | Daniel Calderini | typo3-project-tt-products@lists.netfielders.de | 3 | 18.12.2007 17:42 |
| [TYPO3-shop] 5% discount | Birgit Rühring | typo3-project-tt-products@lists.netfielders.de | 4 | 14.12.2007 15:17 |
| [TYPO3-shop] Discount implementation | Markus Friedrich | typo3-project-tt-products@lists.netfielders.de | 1 | 25.08.2007 08:00 |
| [TYPO3-shop] price based on FE group? | Horn Gábor | typo3-project-tt-products@lists.netfielders.de | 4 | 05.01.2007 17:40 |