• Resolved skabidabido

    (@skabidabido)


    I want to create a formula price that will be calculated based on two conditions (role: customer & slug: ring). For example, by using nested if. But the calculation is not working. How can I solve this?

    [if_user_role role="customer"]
       [if_product_category slug=”ring"]
          *200
       [/if_product_category]
    [/if_user_role]
Viewing 1 replies (of 1 total)
  • Plugin Author ProWCPlugins

    (@prowcplugins)

    Hi @skabidabido,

    Thank you for using our plugin.

    Nested if formulas are not used with our plugin.

    But you may try this formula:
    [if_value value="{user_role role='customer'}" compare_operator="in" compare_to_value="{product_category slug='ring'}"]*200[/if_value]

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Set multiple condition for a single price’ is closed to new replies.