Ajax error "Add to cart" action

This topic has 8 replies, 4 voices, and was last updated 10 years, 9 months ago ago by Eva Kemp

  • Avatar: Rawi7
    Rawi
    Participant
    March 18, 2015 at 16:30

    After updating the Legenda theme and WooCommerce to the latest version, when I add a product to cart from product page, always appears the same problem “ERROR. Error with Ajax” and it seems that is not added to cart.

    But if you access the shopping cart, the product really is inside.

    When a product is added from the Shop, or from the category pages or results does work correctly.

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 18, 2015 at 16:36

    Hello,

    I’ve selected main Legenda theme in Appearance->Themes and Add to cart working fine. Please check your Child theme.

    Regards,
    Robert Hall.

    Avatar: Rawi7
    Rawi
    Participant
    March 18, 2015 at 21:43

    Hello Robert,

    Yes, you’re right.

    I proceeded to review the files of my Legedna Theme Child all afternoon and I could not detect any problems. Any idea?

    Can you help me?

    I attach you in private content, the code of the 2 files from my child theme.

    Thanks in advance.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    March 19, 2015 at 12:19

    Hello,

    Please provide us with FTP credentials.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Rawi7
    Rawi
    Participant
    March 19, 2015 at 12:28

    Hy Eva,

    Here are the credentials.

    Thanks.

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 19, 2015 at 16:01

    Hello

    We have checked your ftp. Try to disable 3-d party plugin which optimize css styles. It is likely cause this issue.

    With best regards
    Brian Johnson

    Avatar: Rawi7
    Rawi
    Participant
    March 19, 2015 at 19:42

    Hello Brian,

    You are right. After testing the installed 3-d party plugins to optimize css and js, I discovered that combining js from WP Fastest Cache plugin and optimizing css from Autoptimize plugin results an Ajax error to add any product to cart from the product page.

    Thanks for the help.

    Greetings.

    Avatar: Eva
    Eva Kemp
    Participant
    March 19, 2015 at 20:06

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Ajax error "Add to cart" action’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.