I’m facing a weird issue with my Magento store. When I go to edit a product and make changes in the inventory section, none of my changes stick. After hitting the save button, everything just goes back to how it was before.
Anyone else run into this kind of problem? Is there a method to track what happens during the save process so I can figure out where things are going wrong?
So far I’ve attempted these fixes:
Turned off all extensions
Ran a full reindex
Cleared cache through admin, database, and command line
Removed all products and categories to start fresh
I know I haven’t provided much detail, but I’m happy to share more info if needed. Thanks in advance for any suggestions!
Sounds like a form token issue. Magento sometimes generates invalid form keys that cause silent save failures. Open dev tools and watch the network tab when you hit save - look for 400/500 errors or failed ajax calls. Also check your session settings in the core_config_data table. I’ve seen this same weirdness when session lifetime was too short.
that’s super frustrating! check if there’s custom code or observers messing with the inventory save process. third-party modules sometimes leave database triggers or event observers behind even when disabled. what magento version are you on? does this hit all products or just certain ones?
Had this exact problem about two years ago. Check if your database user has write permissions on cataloginventory_stock_item and cataloginventory_stock_status tables. Your host might’ve restricted access during a server update without telling you. Also check your error logs when you try to save - both Magento’s system.log and your server’s PHP error log. I had silent MySQL errors that only showed up in server logs. Could also be real-time indexing causing save conflicts with inventory data. Try switching to manual indexing temporarily and see if that fixes it.