Hello guys,
I have an issue with a third-party plugin that needs to function on the Checkout page. This plugin calculates the delivery price based on weight and distance, provided by the courier.
The problem arises when I click the “Calculate price” button, triggering a popup iframe. This iframe, directly from the courier’s server, displays fields like Name, Phone, Address, etc., which are used for delivery calculations. However, when I enable the “Checkout layout Mega electronics,” this popup fails to appear.
The plugin I intend to use with WPBakery contains only one JavaScript file, which fails to load on the checkout page when “Checkout layout Mega electronics” is enabled, resulting in the popup not being shown.
Despite no JavaScript errors, the file fails to load. When I disable “Checkout layout Mega electronics,” the popup appears as expected, and everything works fine, with the JavaScript file loading correctly.
This leads me to suspect that the issue is somehow related to your WPBakery addons, potentially blocking the loading of the courier’s plugin JavaScript file.
I can provide you with the plugin for testing on your end. If you’re interested, please provide an email for me to send it to.
Regards