Home Forums WoodMart support forum Cart not working for WooCommerce Subscription

Cart not working for WooCommerce Subscription

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #629914

    nybbleltd
    Participant

    Hi there.

    We are trying to create a Variable Subscription – but the cart doesnt seem to work properly, and we have to manually refresh the page for it to appear in the cart.

    #629927

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Thank you so much for contacting our support center.

    To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.

    Regards

    #629955

    nybbleltd
    Participant

    But that theme doesnt have a Ajax cart? It just goes directly to cart when I add it?

    I have added the theme anyway. Its now on a staging site.

    #629957

    Artem Temos
    Keymaster
    Xtemos team

    If you mean add to cart on the single product page, it may not work with extra extensions of the add to cart functionality. That is why you need to disable it in Theme Settings to return the default WooCommerce functionality.

    #629960

    nybbleltd
    Participant
    #630005

    nybbleltd
    Participant

    So you cannot help??

    #630022

    Artem Temos
    Keymaster
    Xtemos team

    As we can see, you have extra fields added by installed plugins. That is why, AJAX add to cart will not work correctly. You need to disable it in Theme Settings. There is no workaround for this, unfortunately.

    #630029

    nybbleltd
    Participant

    Thats not really answering my question though is it?

    Did you even watch the video?

    Why doesnt it work with Variable Subscriptions, but works for everything else? I have just paid £40 for support, and you wont even help?

    #630036

    Artem Temos
    Keymaster
    Xtemos team

    As we can see, there is some kind of redirect to checkout activated. Could you please send two links: one that works and one that doesn’t work?

    #630038

    nybbleltd
    Participant
    #630040

    Artem Temos
    Keymaster
    Xtemos team

    Yes, the problem is caused by the fact that second product has some redirect to checkout. The same you can see with the default theme.
    You need to disable this option somewhere in your plugins configurations.

    #630041

    nybbleltd
    Participant

    Its not redirecting to checkout though? Its staying on the same page and not doing anything.

    #630042

    Artem Temos
    Keymaster
    Xtemos team

    Please check how it works with the default theme. Because of this redirect, the AJAX request can’t be done correctly.

    #630184

    nybbleltd
    Participant

    So if we can fix the redirect to cart – then the mini cart will work fine? Is that what you are saying?

    #630194

    Artem Temos
    Keymaster
    Xtemos team

    We can’t guarantee this since AJAX add to cart may not work with plugins that add custom fields. But anyway, we can’t check it while the redirect is active for this product.

    #630199

    nybbleltd
    Participant

    OK – what do you think would be causing the redirect? There is 100% no code that I have added that does this, so it can only be the WooCommerce Subscription plugin adding that when you choose Variable Subscription – becuase as I say it works and has always worked fine. But since the site went live – we have always just chosen Variable Product and not Variable Subscription which is why we have only just seen the problem.

    #630201

    Artem Temos
    Keymaster
    Xtemos team

    Yes, it seems to be related to the plugin. Check plugin settings or contact developers to ask how to disable this redirect.

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