Home › Forums › WoodMart support forum › Add to cart not working
Add to cart not working
- This topic has 11 replies, 3 voices, and was last updated 7 years ago by
Elise Noromit.
-
AuthorPosts
-
October 25, 2018 at 7:41 am #84984

PoliSafety ITParticipantAfter 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 pageOctober 25, 2018 at 8:27 am #84999
Elise NoromitMemberHello,
Please switch to the parent theme and check the issue.
Best Regards
October 25, 2018 at 8:29 am #85004
PoliSafety ITParticipantThe parent theme produces the same issue.
October 25, 2018 at 9:21 am #85022
Artem TemosKeymasterPlease, send us your FTP access so we can troubleshoot it.
October 25, 2018 at 9:28 am #85024
PoliSafety ITParticipantYes, of course.
October 25, 2018 at 12:19 pm #85085
Artem TemosKeymasterIt 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.October 25, 2018 at 12:22 pm #85089
PoliSafety ITParticipantYes, 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…October 25, 2018 at 12:24 pm #85090
Artem TemosKeymasterSorry, but our custom AJAX add to cart on the product page will not work in this case.
October 25, 2018 at 12:27 pm #85097
PoliSafety ITParticipantSo 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.October 25, 2018 at 2:35 pm #85145
Artem TemosKeymasterSorry, 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.
October 29, 2018 at 7:17 am #85758
PoliSafety ITParticipantThank you very much for your time and for taking the time to explain the situation.
Best regards.
October 29, 2018 at 8:56 am #85790
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
The topic ‘Add to cart not working’ is closed to new replies.
- You must be logged in to create new topics. Login / Register
