WordPress.org

Forums

WooCommerce - excelling eCommerce
Where does Woocommerce stores the attributes values? (3 posts)

  1. MarceFX
    Member
    Posted 2 years ago #

    Hi,

    I can't find the table where WC stores the attributes values. It looked like it did so in the wp_postmeta table (_product_attributes meta key). But even it I delete that entry in the database, the attributes values still show. Any ideas?

    Thanks

    http://wordpress.org/extend/plugins/woocommerce/

  2. Pablo Pacheco Karzin
    Member
    Posted 1 year ago #

    I would like to know this info too.

  3. Pablo Pacheco Karzin
    Member
    Posted 1 year ago #

    Attributes are stored on wp_term_relationships.

    Ex:

    +--------------+-------------------+-------------------+
        | object_id    | term_taxonomy_id  | term_taxonomy_id  |
        +--------------+-------------------+-------------------+
        | 91           | 48                | 0                 |
        +--------------+-------------------+-------------------+

    Product 91 has an attribute 48

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic