• Resolved donbrowndesign

    (@donbrowndesign)


    Good day Woo Team,

    I am having so many challenges with WooCommerce. My latest challenge is that my attributes that I created and aDDED to my products are not saving. I currently have a product that has 42 attributes (14 proteins and 2 sides per protein). When I tried to make updates to the attributes, I realized that the attributes were not saving. Not only that, the attributes that were previously saved were being automatically deleted and I am unable to add them again. I started off with 14 proteins and 2 sides for each protein, and now I’m down to 11 proteins and 2 sides for the first 10 proteins. I cannot add the 2 sides for the 11th protein, nor can I add the 12th, 13th and 14th protein with its respective sides. Can you please provide some assistance?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jonayed (woo-hc)

    (@jonayedhosen)

    Hi @donbrowndesign ,

    I’m really sorry you’re running into trouble with product attributes not saving—especially when you’re working with multiple variations. That kind of hiccup can be frustrating, and I’m here to help you get to the bottom of it.

    There’s actually a known bug that popped up in WooCommerce version 7.6. If all your attributes are set to “not used for variations,” the first one might not save correctly. Here’s a link to the GitHub report for more details: WooCommerce Issue #37761. If that sounds like what you’re experiencing, updating to the latest version of WooCommerce should resolve it.

    Sometimes, though, the issue can come from a theme or plugin conflict. If you haven’t already, I’d recommend doing a full conflict test to rule that out: How to Test for Conflicts

    Another thing to look into is your server’s PHP settings. When you’re working with lots of attributes, a low max_input_vars value can stop all your data from being saved. If you have access to your server’s php.ini file, try setting this:

    max_input_vars = 5000

    Then go ahead and restart the web server. That often clears up saving issues with complex products.

    Also, just a quick tip that’s helped other users: instead of using the “Save attributes” button, try adding or editing your attributes, and then click the main “Update” button for the product. For some folks, that’s worked when “Save attributes” didn’t quite do the trick.

    Once that’s done, it’s a good idea to clear a few WooCommerce caches just in case. You can do this under WooCommerce → Status → Tools, and click:

    • Clear WooCommerce transients
    • Regenerate product lookup tables
    • Recount terms

    This helps refresh your data and can fix cases where things look like they’re missing.

    If none of that seems to help, we’ll want to dig a little deeper. Could you open your browser’s developer tools and check for any JavaScript errors on the product edit page? Those errors can sometimes stop attributes from saving correctly.

    It would also be super helpful if you could send us your System Status Report. To find that:

    1. Go to WooCommerce → Status
    2. Click Get system report, then hit Copy for support

    If there are any error logs under WooCommerce → Status → Logs, feel free to include those too.

    You can paste that info into a code block here or drop it on pastebin.com and share the link—whatever’s easier for you.

    Let me know what you find, and I’ll be happy to take another look from there!

    Plugin Support Kay U a11n

    (@kingsleyinfo)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Attributes Not Saving’ is closed to new replies.