News:

Support the VirtueMart project and become a member

Main Menu

French Ecotaxe

Started by cat1910, October 24, 2024, 14:47:16 PM

Previous topic - Next topic

cat1910

Hi,
the ecotaxe is a not obeying to a mathematical rule that I would define in a tax rule.
It's an amount / product, not for all product.
It has to be shown by product, and in the cart, the total of the ecotaxes needs to be shown to.
Could you tell me how to do that in virtuemart ?
Hikashop has developed a plugin for it.
Regards,
Catherine

iWim

In Taxes & Calculation Rules there are several options to modify prices.

Is Tax per Product or Price Modifier [...] an option?
https://docs.virtuemart.net/manual/products-menu/taxes-and-calculation-rules

cat1910

Thanks for your answer.
Unfortunately, the ecotaxe is different for each product, there is no mathematical rule to calculate it.
So it should be like a custom tax field for each product.

iWim

Can you give some examples on how the tax should be calculated?

cat1910

Hi,
the tax can not really be calculated, so I just would like to have a custom tax field by product which I could fill for each product.
Product A : ecotax = 2.3€
Product B : ecotax = 1.5€
Product C : ecotax = 3€


It should appear by product, and the total of the ecotax should also appears in the cart.

Look at the cart in the screenshot, eco-contribution is notified by product and as part as the total amount.

Regards,
Catherine

sirius

Hi
so why just not use a simple custom field ?
Title "Ecotax"
Type string
Cart Attribute Yes
Shopping Cart Option Yes

Then you add it to each product where needed and set the amount in the field.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.2 11100