Apply different formulas for different categories?

Top WooCommerce & WordPress Plugins Forums Product Price by Formula for WooCommerce Apply different formulas for different categories?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99062
    David
    Guest

    Does this plugin allow to apply different formulas for different categories? e.g. CAT1 would be x*1.3 and CAT2 would be x*1.45 ???

    #99063
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    In case if anyone else needs similar functionality – yes, it’s possible since plugin version 2.1.1. You’ll need to use [if_product_category] shortcode in formula for this, e.g.:

    x[if_product_category slug="cat1"]*1.3[/if_product_category][if_product_category slug="cat2"]*1.45[/if_product_category]

    * There are also similar [if_product_tag] and [if_product_taxonomy] shortcodes available.

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