News:

Support the VirtueMart project and become a member

Main Menu

How to Copy Tax & Calculation Rules?

Started by cleverbargain, August 28, 2015, 09:24:56 AM

Previous topic - Next topic

cleverbargain

Hello,

how can I copy Tax & Calculation Rules to create a duplicate?

The reason I want to do that is because I have a huge list of Product Categories listed under a single Tax & Calculation rule and I had to select these categories one by one (it took me around 30 minutes to finish selecting them). This huge list of categories was necessary because some products belong to more than 1 category causing 2 or 3 discounts to be applied on the products.

I also tried to copy it from PhpMyAdmin but the way it is structure i found it was not possible either.


Can somebody help?


thx

Studio 42

You added rules in product or in calculation rules?
Because you can set rules for all products in a category on using a calculation rule

cleverbargain

Hello, thank you for your reply.

I set the rules by going to Admin > Virtuemart > Products > Taxes & Calculation Rules

Then I created a New Rule and I selected a huge list of categories.

I would like to copy this New Rule so I don't have to repeat the process of selecting all those categories.


Studio 42

Hi,
You can doing it on hacking your form in HTML debug.
On windows chrome or firebug press F12
click the "elements" on chrome or "html" tab
search in the form and change virtuemart_calc_id to 0
and click save