• Hi,

    I’m creating a product listing site whereby the products will be imported via a csv file.

    Currently the products are stored in the wp_posts table (with the post_type ‘post’) and the product details stored in wp_postmeta table.

    I was considering creating a separate table for the products and another for product details but I came across the wordpress function register_post_type() where a product post type could be used and the products stored in the wp_posts tables.

    Are there any advantages doing it this way rather than creating a new table for the products?

    Cheers,

    Nick

  • The topic ‘Should I use wp_posts table for products’ is closed to new replies.