[CLOSED] Possibility to use ternary operator

Home – SaaS Forums Presale questions Woo Price Calculator [CLOSED] Possibility to use ternary operator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4824
    ro_don
    Participant

    Hi,
    I’ve tested the free-version of WooPrice Calculator, but I have a question before I would buy the Pro.
    I have to calculate the price of a product with if-else conditions. Is it possible to use a ternary operator in the formula like this:
    $woo_price_calc_2 * (($woo_price_calc_2 < 50) ? 57 : 30)
    Your plugin is the best I could find, but the ternary operator is the only issue I have to solve yet.

    I hope you can help me :)

    Best regards,
    Rouven

    #4825
    Anonymous
    Guest

    Hello Rouven,
    If it is nor working on free version also will not work on pro version. The difference between pro and free is that with the pro version you can upload excel sheet with formulas.
    Thanks
    Ataur

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