Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Change tax while adding to shopping cart
 
ruudboy
Jr. Member
 
Total Posts:  11
Joined:  2012-12-09
 

For 1 product i have multiple tax rates.
10% from the total price is 0% tax
20% from the total price is 6% tax
70% from the total price is 21% tax

I override the priceupdate observer for adding the product to the cart.
I have a callculation witch gives me the total price for the tax.
Say for example that with a price of €30,- the tax is €4,25

I add the price with:

$quote_item->setOriginalCustomPrice($new_price); 
$quote_item->save();

But how can I add this tax to the shopping cart with the text:
Tax (0/6/21%): €4,25

 
Magento Community Magento Community
Magento Community
Magento Community
 
ruudboy
Jr. Member
 
Total Posts:  11
Joined:  2012-12-09
 

No i’m sorry.
I now the basics of adding tax rates.
But if u read my top i will see that i mean something completely different

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top