Home Forums WoodMart support forum Problem with 3rd party plugin which should work on chekout page

Problem with 3rd party plugin which should work on chekout page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #568052

    media-3572
    Participant

    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

    #568067

    Artem Temos
    Keymaster

    Hello,

    It looks like the plugin adds its custom scripts or content using the standard WooCommerce hook. When you create a custom layout with Elementor it doesn’t contain any default elements and hooks. It contains only those elements that you added with Elementor manually.

    We have a special “Hook” element in Elementor that you can place to your custom layout and then the plugin will be able to add its custom content there. But we don’t know which one exactly it needs. You can either try to select all hooks one by one or contact plugin developers for help.

    Read more information about our Hook element https://xtemos.com/docs-topic/custom-hooks-and-plugins-compatibility/

    Kind Regards
    XTemos Studio

    #571465

    media-3572
    Participant

    I disabled the cart and chekout layouts and it is working now. You can close this ticket

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Problem with 3rd party plugin which should work on chekout page’ is closed to new replies.