• Resolved jtohme

    (@jtohme)


    Hello, I asked Claude with WPVibe plugin to edit a certain product in Woocommerce and add an additional flavor. It added the flavor alright but deleted the other present attributes like Protein type, Product characteristics..

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Turner

    (@johnnytee)

    Hi @jtohme, thanks for reporting this, and sorry about the lost attributes.

    Here’s what most likely happened. WooCommerce’s product update endpoint treats the attributes list as “replace everything”, not “add one”. So when the AI sent an update containing only the new flavor attribute, WooCommerce dropped Protein Type and Product Characteristics instead of keeping them. That’s WooCommerce behaviour rather than a bug in your site, but WPVibe should be steering the AI around it and right now it isn’t. I’m adding WooCommerce guidance to WPVibe so the AI reads the existing attributes first and sends the full list back with the new one appended.

    Getting your product back:

    1. If those attributes were global ones (the kind under Products > Attributes), the terms themselves are still there. Open the product in wp-admin, Attributes tab, add them back and pick the values. Or ask the AI: “Read product X’s current attributes, then add Protein Type and Product Characteristics back with values A, B, C, keeping every existing attribute.” Phrasing it that way makes it read-then-write.
    2. If they were custom attributes typed directly on the product, the values live only on that product and were overwritten, so they’ll need re-entering by hand, or restoring from a backup of the product if you have one.
    3. If it’s a variable product, check the variations afterwards. Removing an attribute used for variations can leave them showing “Any” for that option.

    If you hit anything else with it, let me know here and I’ll take a look.

    Plugin Author John Turner

    (@johnnytee)

    Quick follow-up: this is now fixed on the WPVibe side. When the AI sends a product update that would drop existing attributes, categories, tags or images, WPVibe stops it before it reaches WooCommerce and hands back the current list so the AI resends the full set with the new one added. No plugin update needed, it’s live for everyone already.

    Sorry again about the attributes on that product.

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

You must be logged in to reply to this topic.