Plugin Support
wdevs
(@wdevs)
Hello,
Thank you for your suggestion. That’s an interesting idea! But to be honest; I’m slightly concerned about whether this approach might create confusion for visitors, as the prices could appear inconsistent on the page.
Also, does the script need to check every parent element for a certain class? That could be quite impactful on the performance, because the code needs to check for every parent recursively for each price element.
Could you tell me a little bit more about your use case?
Thanks for your answer!
Well, we have this Advanced Woo Search plugin on our website and the search results dropdown always displays prices excluding VAT initially despite VAT being toggled ON with your plugin.
Prices inside are wrapped with your .wts-price-container and toggling VAT after results are displayed works though.
There is a JS event which we can hook into when the results are loaded so maybe if there’s a way to trigger your plugin action (switching) with JS then could a solution?
-
This reply was modified 11 months, 2 weeks ago by
kabarovsky.
Plugin Support
wdevs
(@wdevs)
Ah, okay! I think we can fix that! Could you please send me an email or message via our contactform so we can have a look at this?
Plugin Support
wdevs
(@wdevs)
This should be fixed in the current version (1.5.8). Cheers!