1

I'am looking for a code that permit me to get the fixed product taxe named "ecotaxe" for France.

enter image description here

Is anyone know how to get this value ?

Thanks,

2
  • Where is this value added? On a product on in the tax module? Commented Jan 17, 2014 at 12:43
  • Looks like a custom module that is used for this purpose. You might be able to customise Mage_Weee module to handle the eco tax. Commented Jan 17, 2014 at 12:45

1 Answer 1

2

It's called "weee tax" in Magento and it's defined by product.

Everything is located in weee_tax table in Magento database. It's something existing by default in Magento but not often used.

I found a solution, hope it'll help :

http://www.magentocommerce.com/knowledge-base/entry/ce18-and-ee113-fpt-tax

And my code looks like that after creating the specific attribute :

$ecotaxe = $_product->getEcotaxe();
echo $ecotaxe[0]['value'];
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.