• Resolved annieedgar

    (@annieedgar)


    Hi! I’m just testing around with the plugin, and I can’t figure out why my conditional expression isn’t working.

    I created a product with two fields : number of pages and type of printing. Both fields have 3 options.

    For the price calculation, this is what I wrote :
    if {nb_pages}==24 and {type_print}==’Vierge’ price 52
    if {nb_pages}==24 and {type_print}==’Noir’ price 100
    else 80

    But when I add a product with 24 pages and ‘Vierge’ type of printing and one with 24 pages but with a ‘Noir’ type, both of them has a pricing of 52$. It seems to ignore the condition after “and”.

    If you can lighten me up on this matter, it would be much appreciated ! ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter annieedgar

    (@annieedgar)

    Looks like I had to use a Select field, not a Dropdown field!

    But is there a way to remove the “Choose an option” option in the dropdown of a Select field? It’s there even if I set the fields as required.

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional expressions?’ is closed to new replies.