Home Forums WoodMart – Premium Template Add to cart not working

Tagged: , ,

This topic contains 11 replies, has 3 voices, and was last updated by Elise Noromit Elise Noromit 1 year, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #84984
    PoliSafety IT
    PoliSafety IT
    Customer

    After updating to the latest version when I try to add a product to the cart from the product page, the cart seems empty afterwards.

    I disabled all plugins and the issue persists.

    To replicate the issue:
    1. Go to a product page
    2. Press add to cart
    3. Go to the cart page

    Private Content Hidden
    #84999

    Hello,

    Please switch to the parent theme and check the issue.

    Best Regards

    #85004
    PoliSafety IT
    PoliSafety IT
    Customer

    The parent theme produces the same issue.

    #85022

    Please, send us your FTP access so we can troubleshoot it.

    #85024
    PoliSafety IT
    PoliSafety IT
    Customer

    Yes, of course.

    Private Content Hidden
    #85085

    It seems to be a problem that you have a dashboard on a separate domain https://admin.e-vida.gr/ and AJAX requests are not working well.

    #85089
    PoliSafety IT
    PoliSafety IT
    Customer

    Yes, the dashboard is located on a different domain for security and caching reasons.
    The ‘add to cart’ from a product category works perfectly though as well as all other AJAX calls like third-party search plugins, etc…

    #85090

    Sorry, but our custom AJAX add to cart on the product page will not work in this case.

    #85097
    PoliSafety IT
    PoliSafety IT
    Customer

    So the only solution is to set my dashboard in the same domain…
    Do you consider maybe fixing a patch for a later release on your theme? Having the dashboard on a separate subdomain is helpful against both security, caching and external CDNs.

    #85145

    Sorry, but it is not a bug and we can’t fix it. WooCommerce generates a Session ID while adding the product to cart. And when you are using a different domain for the admin panel, these IDs are different and our AJAX call to admin area (default WordPress AJAX actions) doesn’t work correctly.

    #85758
    PoliSafety IT
    PoliSafety IT
    Customer

    Thank you very much for your time and for taking the time to explain the situation.

    Best regards.

    #85790

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Add to cart not working’ is closed to new replies.