Hi,
What you need is the [if_product_category]
shortcode – unfortunately, it’s included in the Pro version only. Basically, you will have one formula, but prices will be calculated differently depending on the product’s category. So in the “Formula” you would need to enter something like this:
x[if_product_category slug="cat1,cat2"]*1.10[/if_product_category][if_product_category not_slug="cat1,cat2"]*1.20[/if_product_category]
In this example: if product’s category is “cat1” or “cat2”, then the price is multiplied by 1.10 (i.e., 10% is added to the original price), and for all other products, it’s multiplied by 1.20 (i.e., 20% is added).