• Resolved landonroddenberry

    (@landonroddenberry)


    The app works great, but since the last WP update the “add to cart” button for my woocommerce store has stopped working (it just reloads the page). Also, you can’t complete a purchase with the app (the page just reloads after you try to pay).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Amauri

    (@amauric)

    Add this Javascript snippet on the wpmobile plugin (section CSS and Javascript):

    jQuery(function() {
    jQuery(‘.ajax_add_to_cart’).attr(‘href’, ”);
    });

    Thread Starter landonroddenberry

    (@landonroddenberry)

    It is inserted into the correct location, but seems to have no effect.

    Thread Starter landonroddenberry

    (@landonroddenberry)

    Like i said, this is not a simple redirection problem. I need the main “add to cart” button to actually perform the action (i.e. save the listing in the users cart) and redirect them to the cart. This functionality was working before so I’m not sure why it has quit. I have made no changes on my end that I know of.

    Plugin Author Amauri

    (@amauric)

    Copy/Paste the snippet from here: https://wpmobile.app/snippet.txt

    Quotes are wrong here 😯

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘woocommerce button not working’ is closed to new replies.