0
votes

If I have a product (eg. pen) on the Woocommerce shop that allows a custom field (Name Label), and I want to order 2 of these with different names (in the same order), will WC treat them as separate product because they have different cart item meta or will i need to add this in?

Thank you

1

1 Answers

0
votes

Woocommerce will treat them as separate products because they have unique product (post) ids. Woocommerce products are technically posts and are stored in wp_posts table, which has an auto incrementing ID field. The custom fields are in wp_postmeta and are joined to each product on post_id.