Home Forums WoodMart support forum Having Issues with AJAX add to cart and a plugin

Having Issues with AJAX add to cart and a plugin

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #516000

    conceptoriginal
    Participant

    When i activate the plugin for our specific pricing AJAX add to cart does not work.

    I have spoken to the support and they have told me the following…

    Kindly note that we’ve observed and wish to bring to your attention that the issue seems to stem from the theme itself. To gain more clarity and resolution, we recommend reaching out to the theme developers directly. Kindly request their assistance in addressing the specific error occurring within the console.

    Furthermore, we’ve introduced a code snippet within the theme’s JavaScript file for testing purposes exclusively. While implementing this code, we discovered its presence. The code added is located in ‘js/scripts/wc/addToCartAllTypes.min.js’:

    0 < (a.notices && a.notices.indexOf(“error”) !== -1) ? e.append(a.notices, d.addClass(“not-added”))

    We strongly advise contacting the theme developers to address the issue. Emphasize that making certain modifications within the theme codebase might provide a resolution, based on our preliminary attempts.

    #516008

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more detail. Attach some screenshots and provide us with a list of steps on how to reproduce them on your website.

    Thank you in advance.

    #516013

    conceptoriginal
    Participant

    If you add a product to the cart it doesnt update in the header unless you refresh

    #516017

    Artem Temos
    Keymaster

    Please, provide us with your admin access. The password sent earlier seems to be wrong.

    Kind Regards

    #516018

    conceptoriginal
    Participant

    thanks below

    #516022

    Artem Temos
    Keymaster

    Could you please clarify what plugin do you have a conflict with?

    #516023

    conceptoriginal
    Participant

    customer specific pricing for woocommerce

    #516025

    Artem Temos
    Keymaster

    The problem is that the plugin adds some extra redirect after adding a product to cart https://gyazo.com/7183df3b7681740b13f3c30d401e5bfd
    By redirecting the request it breaks the AJAX so this function doesn’t work as expected. The redirect should be removed or you can disable the AJAX add to cart option.

    Kind Regards

    #516029

    conceptoriginal
    Participant

    thank you

    #516042

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us if you have any further questions.

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