Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Ajax functionality stopped working after updating to version 8.1.5

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Ajax functionality stopped working after updating to version 8.1.5

  • This topic has 4 replies, 3 voices, and was last updated 5 years, 2 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 30, 2020 at 8:53 am #14788
    elsassupport
    Participant

    Hi,

    I recently updated the WP Estore plugin to version 8.1.5. But after updating, the Ajax functionality to add or remove items from my cart has stopped working. If I turn off the setting “Enable Ajax on Add to Cart Buttons” adding and removing items works fine.

    Things I checked/did to try to fix:

    – I checked the console in chrome and the Ajax request does not give any errors when adding an item to the cart, I receive a 200 status code from the request and the data response seems normal. But when I go to the cart it is empty.

    – I deactivated all plugins and switched to a different theme, this didn’t seem to fix the issue.

    – Don’t see any major errors in the debug log except:

    [28-Mar-2020 13:24:46 UTC] PHP Notice: Undefined index: variation1 in …/wp-content/plugins/wp-cart-for-digital-products/eStore_ajax.php on line 94

    [28-Mar-2020 13:24:46 UTC] PHP Notice: Undefined index: variation2 in …/wp-content/plugins/wp-cart-for-digital-products/eStore_ajax.php on line 95

    [28-Mar-2020 13:24:46 UTC] PHP Notice: Undefined index: variation3 in …/wp-content/plugins/wp-cart-for-digital-products/eStore_ajax.php on line 96

    [28-Mar-2020 13:24:46 UTC] PHP Notice: Undefined index: variation4 in …/wp-content/plugins/wp-cart-for-digital-products/eStore_ajax.php on line 97

    Some Site Diagnostics:

    WP eStore Version: 8.1.5

    WP Version: 5.3.2

    WPMU: No

    MySQL Version: 5.5.5

    PHP Version: 7.2.28

    CURL Library Present: Yes

    Debug File Write Permissions: Writable

    Let me know if you need any additional information.

    March 30, 2020 at 10:15 pm #80407
    wzp
    Moderator

    Since all of the listed errors are contained in 1 particular file; perhaps the download was corrupted. Please try re-downloading another copy of the plugin.

    https://support.tipsandtricks-hq.com/update-request

    March 30, 2020 at 11:48 pm #80408
    admin
    Keymaster

    It is likely something with the variation configuration is going wrong here. I will take a look at your site to see your setup which allow me to understand the issue. I have sent you an email for it.

    April 1, 2020 at 12:02 pm #80409
    elsassupport
    Participant

    Hi,

    I looked at all the caching and made sure nothing was being cached. However this did not fix the issue.

    I did some more research and found that in your code of the plugin you are not calling session_start(); when adding or removing an item from the cart. If added the function on line 74 and 162 in eStore_ajax.php.

    Now the cart seems to work just fine.

    April 2, 2020 at 3:20 am #80410
    admin
    Keymaster

    Thank you. I have made some improvements for this after your feedback. That should resolve this.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ