Home Forums WoodMart support forum Add to cart button stuck and keep on loading on product page

Add to cart button stuck and keep on loading on product page

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #427970

    getfrankie.co
    Participant

    Add to cart button stuck and keeps on loading on product page.
    website is: https://wgo.6c9.myftpupload.com/

    Could you please check shop page and let me know what could be the reason for this.

    Appreciate your help

    Attachments:
    You must be logged in to view attached files.
    #428056

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .wd-dropdown-menu {
        background-color: red;
    }

    Best Regards

    #428092

    getfrankie.co
    Participant

    Hi Elise,

    Thanks for all your help, this has been resolved… you are bloody brilliant!!

    Appreciate all your help

    #428340

    Hello,

    Sorry, I have sent this message by mistake, have you found the reason the cart is always loading?

    If you have not please deactivate all the plugins not related to the theme and switch to the parent theme, then activate the plugins one by one to detect which one causes the problem.

    Best Regards

    #428346

    getfrankie.co
    Participant

    Thanks Elise, realise it is still getting stuck will do what you said and go from there

    #428347

    getfrankie.co
    Participant

    i dont actually know how to switch to parent theme but ill figure it out, just building the site atm, so not urgent

    #428352

    getfrankie.co
    Participant

    hi I tried what you said and its still now working – its still loading

    Attachments:
    You must be logged in to view attached files.
    #428355

    getfrankie.co
    Participant

    Have deactivated all plugins

    #428466

    getfrankie.co
    Participant

    Hi have deactivated all the plugins and is still not working, can someone please have a look at what is going on with this?

    #428516

    getfrankie.co
    Participant

    Hi Luke, still awaiting some sort of resolution for this? If i add an add to cart plugin would this sort this out? Just wondering as it is still stuck after you add to cart? Appreciate your help. Cheers, Anna

    #428527

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter('woocommerce_add_to_cart_redirect', function( $url ) {
    	if( strpos( $url, 'product-added-to-cart' ) > 0 || strpos( $url, 'product_added_to_cart' ) > 0) {
    		return '';
    	} 
    	return $url;
     }, PHP_INT_MAX);

    Kind Regards

    #428536

    getfrankie.co
    Participant

    Thanks Artem where do i put this exactly sorry this is the first website ive built so just figuring this out.

    Appreciate your help 🙂

    #428547

    getfrankie.co
    Participant

    OMG Artem it is working like clockwork- thanks heaps.

    Have a beautiful day 🙂

    #428683

    Artem Temos
    Keymaster

    Great, you are welcome!

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

The topic ‘Add to cart button stuck and keep on loading on product page’ is closed to new replies.