Showing Price on the basis of two inputs
-
What i want is, when my user select both width and height only then they will be able to see the price. right now the price is shown even if they select one of them (width or height).
For example, if user select width 1000 and height 1000 the price will be shown as 231.
This is what is want:
If {product_widthh} >= 1000 and {product_widthh} <= 1100 and {product_heightt} >= 1000 and {product_heightt} <= 1100 then price is 231
I think it can be done with “else if” condition but i am not sure.
Can you help me to apply this logic on my products?
Image:
https://blindmotorsonline.com.au/wp-content/uploads/2024/02/screencapture-blindmotorsonline-au-wp-admin-post-php-2024-02-28-02_04_19.pngThe page I need help with: [log in to see the link]
- The topic ‘Showing Price on the basis of two inputs’ is closed to new replies.