• Resolved rollemamedia

    (@rollemamedia)


    Hi,

    We created dynamic delivery messages in the product stock status.
    For example: If a product is on-stock and the time is before 4:00 PM the delivery will be tomorrow. If it’s after 4:00 PM then the delivery will be the day after tomorrow.

    We created this function with jQuery and it works fine in Woocommerce.
    But on the checkout page. The javascripts for the checkout are overruling this function sometimes.

    Do you know how i can load a function, after the checkout is loaded?

    Kind regards

Viewing 1 replies (of 1 total)
  • Hello,

    One possibility is that there is a jQuery conflict with your template or another plugin. Further details on plugin and theme clashes can be found in the following documentation: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    To pinpoint the cause of the conflict, you should switch your theme temporarily to Storefront Theme and disable all plugins except for WooCommerce. Check if this has resolved the problem.

    Other tools:

    • Health Check is another useful tool for uncovering hidden problems. On the troubleshooting tab, you will find a button which allows you to deactivate all plugins and adjust the template while you’re signed in to the active session without causing any interruption to your site’s visitors.

    If these steps work, then you can gradually revert to your previous theme and reactivate your plugins, pausing to assess the situation in between, until the source of the conflict is clear.

    If the above does not help, can you provide clear steps to reproduce the issue on your end, as well as the URL where the issue is present?

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Load jQuery after Woocommerce javascripts on checkout’ is closed to new replies.