|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
The docs are including this example:
discountprice { 10.type = count 10.field = price 10.additive = 1 10.where = 10.prod.1 = 4.99 10.prod.100 = 2.49 10.prod.1050 = 2.39 } But.. is a common need to have different discount for different products, how can we indicate the discount in a per product basis? This discount range for a product and ANOTHER discount range for another product. In practice: Product A is $10, but it is $9 if the customer buys 12 items A. Product B is $25, but it is $20 if the customer buys 12 items B. Current documentation is not very clear about it, or I am unable to guess it ![]() Thanks in advance 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 Pablo,
> The docs are including this example: > > discountprice { > 10.type = count > 10.field = price > 10.additive = 1 > 10.where = > 10.prod.1 = 4.99 > 10.prod.100 = 2.49 > 10.prod.1050 = 2.39 > } > > But.. is a common need to have different discount for different > products, how can we indicate the discount in a per product basis? This > discount range for a product and ANOTHER discount range for another product. > > In practice: Product A is $10, but it is $9 if the customer buys 12 > items A. Product B is $25, but it is $20 if the customer buys 12 items B. > Current documentation is not very clear about it, or I am unable to > guess it ![]() Starting with tt_products 2.8.0 you can also add a simple where clause. 10.sql.where = uid IN (12, 13, 14, 35) Then you can repeat the discounts with more lines and give other where conditions to them. - Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#3
|
|||
|
|||
|
_______________________________________________
TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-shop] Related Products | Lukas Taferner | typo3-project-tt-products@lists.netfielders.de | 1 | 18.12.2007 17:51 |
| [TYPO3-shop] Products - Articles 2.6.0 | Lukas Taferner | typo3-project-tt-products@lists.netfielders.de | 1 | 17.12.2007 17:27 |
| [TYPO3-shop] related products | Mauro Lorenzutti | typo3-project-tt-products@lists.netfielders.de | 2 | 19.03.2007 14:28 |
| [TYPO3] different discounts for different products in tt_products | Gunnar Jonsson | typo3-english@lists.netfielders.de | 0 | 01.02.2007 22:52 |
| [TYPO3-shop] Products articles | Simon | typo3-project-tt-products@lists.netfielders.de | 2 | 11.01.2007 12:11 |