- Posts: 1
- Thank you received: 0
[CLOSED] Possibility to use ternary operator
- Ataur Rahman
-
3 years 4 months ago #786
by Ataur Rahman
Ataur Rahman replied the topic: [CLOSED] Possibility to use ternary operator
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
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
Please Log in or Create an account to join the conversation.
- ro_don
-
Topic Author
- Offline
Less
More
3 years 4 months ago #784
by ro_don
ro_don created the topic: [CLOSED] Possibility to use ternary operator
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: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
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)
I hope you can help me

Best regards,
Rouven
Please Log in or Create an account to join the conversation.
Moderators: david
Time to create page: 0.298 seconds