how do i change the variable prices in variable products, to show only the lowest price and a from to before it and when a variation is selected it should disappear.
I wouldn't ask you, but since there's no snippet that works (while they work for other users) i'm wondering how you guys are making it display and if are you using some custom code.
One advice for you: It's good to not modify the theme because you can have problems in the future updates. Please be aware as by doing customization if something happens like miss-editing files the responsibility is yours and we wont support you on finding the problem, as we are only guiding you how to get the results you need.
I understand and you're right, but we didn't modify the main theme but just the child.
As i saw the notices in that file. i thought i've edited it by accident therefore i've replaced it with the original one but it was still giving me those notices.
Furthermore we've replaced the entire original theme but still was showing those errors.
Hi,
how do i change the variable prices in variable products, to show only the lowest price and a from to before it and when a variation is selected it should disappear.
I wouldn't ask you, but since there's no snippet that works (while they work for other users) i'm wondering how you guys are making it display and if are you using some custom code.
Here are some snippets i've used.
Thanks and regards
Hi Pietro,
After googling for this I have found a code that might work for you:
Based on this article:https://www.themelocation.com/how-to-display-minimum-price-from-multiple-variations-in-woocommerce/
Please let me know if this works for you?
Good morning Arlind,
thanks for your answer.
I've had to edit a bit the code since another plugin producer was editing already that part, but thanks again! :)
Regards
Hi Pietro,
Glad to hear that
One advice for you: It's good to not modify the theme because you can have problems in the future updates. Please be aware as by doing customization if something happens like miss-editing files the responsibility is yours and we wont support you on finding the problem, as we are only guiding you how to get the results you need.
Will set this ticket as solved from here.
Hi Arlind,
I understand and you're right, but we didn't modify the main theme but just the child.
As i saw the notices in that file. i thought i've edited it by accident therefore i've replaced it with the original one but it was still giving me those notices.
Furthermore we've replaced the entire original theme but still was showing those errors.
Thanks again :)
Regards