TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 06.06.2008, 05:40
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] Different Discounts for different products?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 07.06.2008, 11:45
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Different Discounts for different products?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 07.06.2008, 16:51
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Different Discounts for different products?

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:09 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77