Home › Forums › WoodMart support forum › Compatibility Issue with Price by Formula Calculator and WoodMart Theme (Dynamic
Compatibility Issue with Price by Formula Calculator and WoodMart Theme (Dynamic
- This topic has 7 replies, 2 voices, and was last updated 7 minutes ago by adam.maznev.
-
AuthorPosts
-
November 14, 2024 at 10:45 pm #612267
adam.maznevParticipantHello WoodMart Support Team,
I am experiencing an issue with the “Price by Formula Calculator for WooCommerce” plugin on my website, which is using the WoodMart theme. This plugin is essential for our business as it dynamically calculates the price based on width x length inputs, allowing customers to get an accurate price before adding products to the cart.
Issue Summary:
The calculator works perfectly on mobile devices, dynamically updating the price as the user inputs width and length.
However, on desktop (PC), the calculator does not dynamically update the price when the user inputs width and length. The price only displays correctly if I refresh the page.
After refreshing the page, the calculator functions as expected, but this refresh requirement disrupts the user experience.
Troubleshooting Steps Taken:Consultation with WP Rocket Support:
I initially suspected WP Rocket was causing the issue, so I tested bypassing WP Rocket and fully deactivated it. However, WP Rocket support confirmed that the issue persists even on a non-cached page and with WP Rocket completely disabled. They provided a recording showing the broken calculator functionality
Consultation with Plugin Support (Price by Formula Calculator):The plugin support team recommended deferring the plugin’s JavaScript entirely. They also suggested modifying specific code within woosppo_main_front.php to avoid caching conflicts. Unfortunately, these adjustments did not resolve the issue, as it still persists without WP Rocket enabled.
Given that both WP Rocket and the plugin support have ruled out issues on their end, it appears there might be a compatibility problem between the WoodMart theme and the “Price by Formula Calculator” plugin.Request for Assistance: This plugin is crucial for our business, as accurate price calculation based on user input is key to our operations. Could you please investigate this compatibility issue and suggest any solutions or workarounds to ensure that the calculator functions correctly on desktop without needing a page refresh?
Thank you very much for your assistance
Adam MNovember 15, 2024 at 1:13 pm #612393
Luke NielsenKeymasterHello,
Navigate to Theme Settings -> Single product -> Add to cart -> disable the “AJAX add to cart” option – https://prnt.sc/rFyxShuPxKiJ, clear the cache and recheck the issue.
Kind Regards
November 15, 2024 at 1:18 pm #612395
adam.maznevParticipantHi Luke thanks for getting back to me
I’ve already tried that it didn’t work am afraid
November 15, 2024 at 1:34 pm #612397
Luke NielsenKeymasterNovember 15, 2024 at 1:45 pm #612401
adam.maznevParticipantHi Luke
I appriciate the video
Unforunately the reason it works for you is because your on the same product and the plugin will always work when you refresh the page
If you try to disable ajax and go onto a new window and try a different product it will not work
I have attached a video recording with my phone please take a look
ThanksNovember 15, 2024 at 1:47 pm #612402
adam.maznevParticipantVideo is too large so i have uploaded it online for you
Thanks againNovember 15, 2024 at 1:55 pm #612411
adam.maznevParticipantThe plugin support team came back and said this i quote:
“Hi there,
Hope you are doing well.Thanks for sharing your site admin credentials. While debugging the issue on your site we have noticed that whenever we click on the form or around the form in the product summary area it duplicates the form (see screenshots before click.png and after click.png). So that is why it is causing the issue not displaying correctly on the desktop. So we can not fix it from our and will suggest you to contact the site developers as they can better guide you about form duplication. We hope you will understand. Thanks for your cooperation and patience.”
Attachments:
You must be logged in to view attached files.November 15, 2024 at 3:17 pm #612440
adam.maznevParticipantHi there
Another thing i’ve noticed which may help you help me is that the calculator works fine but as soon as you scroll once in the product page it stops working
Please view this video https://streamable.com/19ik51 -
AuthorPosts
- You must be logged in to create new topics. Login / Register