WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. MarceFX
    Member
    Posted 1 year 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. Karzin
    Member
    Posted 7 months ago #

    I would like to know this info too.

  3. Karzin
    Member
    Posted 7 months 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

About this Topic