[TYPO3-shop] Discount for usergroups

Jan Abbink jan.abbink at bswescouts.com
Sun Mar 5 02:40:29 CET 2006


Hi all,

I am trying to setup a discount for a special usergroup using price2.

In the file "ext_typoscript_setup.txt" I added the following code:

## EXAMPLE payment config:
plugin.tt_products.payment {
   radio = 1
   TAXpercentage = 0
#  10.title = MasterCard
#  10.image.file = media/logos/mastercard.gif
#  10.priceTax =
#  10.calculationScript = EXT:tt_products/pi1/products_comp_calcScript.inc

   40.title = Money transfer
   40.image.file = media/logos/money.gif
   40.priceTax =
   40.priceNoReseller = 2
   40.discountGroupName = DiscountUniform
#  40.percentOfGoodstotal = 1.45

   50.title = Scoutshop account
   50.image.file = media/logos/money.gif
   50.priceNoReseller = 2
   50.discountGroupName = DiscountUniform
   50.priceTax =
}

But the price displayed and used for the calculation is the "price1".

How can I and where do I change Typo3 to take "price2" for this special 
usergroup?

The documentation gives an example but this does not help e very much.

Kind Regards
Jan



More information about the TYPO3-project-tt-products mailing list