Different formula for different categories?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99082
    Anish
    Guest

    Hello Tom,
    I want to add different formula for different categories containing more than 500 products but I dont see any option for adding different formula for different categories in free version. Do I have to purchase this plugin for adding more than formulas??

    #99083
    Tom Anbinder
    Moderator
    Plugin Support

    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).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.