TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-shop] Qty based percentage discount not working,and exception for some products

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 ...


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 11.07.2008, 23:13
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] Qty based percentage discount not working,and exception for some products

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
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 15.07.2008, 12:52
Stefanie Axinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Qty based percentage discount not working,and exception for some products

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
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 25.07.2008, 08:47
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Qty based percentage discount not working,and exception for some products

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
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!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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] 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


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:49 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

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