[Typo3] tt_product, discount and different prices

Franz Holzinger franz at fholzinger.com
Sat Jun 25 14:11:51 CEST 2005


Hello Arkin,


> 
> I am configuring a shop with tt_produts, and I want to know how can I do discounts to a user or if I can use different prices for one item, for example, to spanish buyer 10 euros, to European buyer 15 euros .... thanks
> 
> 
> - Arkin (Arkaitz Lóciga) 
> 
> PD: I do this: (http://typo3.org/documentation/document-library/doc_shop/Show_Second_Price_in/)
> 
> $markerArray["###PRICE2_TAX###"] =
> $this ->priceFormat($this->getPrice($row["price2"]));
> $markerArray["###PRICE2_NO_TAX###"] =
> $this ->priceFormat($this->getPrice($row["price2"],0));
> 
> But only show the second price, to do de final price, the shop takes de value of PRICE_TAX


you do not need to use this change anymore.

The same effect you will have by setting priceNoReseller = 2.
Make a separate template for each country.

If you want to have a different price for each country you have to 
modify the code. Everywhere you find price2 you have to use also price3, 
price4, price5 ... price100 aso.

Then change the limit check in your code of priceNoReseller to your 
number of price fields.



Franz



More information about the TYPO3-english mailing list