• Resolved forikatamas

    (@forikatamas)


    If I delete an attribute that is connected to about 120 products. then it disappears from everywhere (it looks ok) but it continues to exist in the background. If I re-create an attribute with the same slug, it will immediately appear in the 120 products.

    The problem is that these attributes running in the background are seen by the export/import module…

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

Viewing 1 replies (of 1 total)
  • Roxy

    (@roxannestoltz)

    Hi @forikatamas ,

    Thanks for reaching out!

    What you are experiencing is default WooCommerce core behavior. WooCommerce stores attribute information in the database, and deleting an attribute only removes its visibility from the front end.

    If you re-create an attribute with the same slug, it will automatically be reapplied to the same products that were previously connected to it. This is because the attribute data is stored in the database, and re-creating the attribute with the same slug references the same data in the database. The products that were previously connected to the attribute will then be linked to the re-created attribute which could result in the reappearance of the deleted attribute when using export/import modules.

    To properly remove an attribute and ensure that it doesn’t reappear when re-creating the attribute would require a SQL command, as this needs to be deleted from your database.

    I found a previous thread here that may be helpful.

    It’s important to remember that removing data from the database can be a complex process and could potentially cause problems with your WooCommerce installation.

    Be sure to thoroughly test any changes before applying them to a live site, and backup?your?full site and database before making any changes.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Deleted attribute issue.’ is closed to new replies.