I need to know SQL Table Structure for adding new product.I don't want to any sql queries only want to know effecting tables names.
-
Thank you very much for sharing the valuable information @Marius– SamCommented May 7, 2019 at 11:54
-
Please don't add "thank you" as an answer. Once you have sufficient reputation, you will be able to vote up questions and answers that you found helpful. - From Review– fmsthirdCommented May 7, 2019 at 12:34
Add a comment
|
1 Answer
catalog_product_entity
- this one is the main product table. It contains the id, sku, attribute set and a few other detailscatalog_product_entity_int|varchar|text|datetime|decimal
- these tables contain attribute values. Each attribute has a type and based on that type the value is inserted in the right table.catalog_product_website
- this table contains the association of products on websites (product id, website id). If you don't add the products to at least a website nothing will be inserted here.catalog_category_product
- this table contains the association between products and categories (product id, category id). if you don't assign products to categories nothing will be inserted herecatalog_category_product_index
- this tables also holds the association between products and categories but it is populated after reindexing.catalog_product_entity_gallery
,catalog_product_entity_media_gallery
,catalog_product_entity_media_gallery_value
- these hold references to images assigned to productscatalog_product_link
this holds the links between products: cross-sells, up-sells, related products, child products of configurable & grouped productscatalog_product_link_attribute
,catalog_product_link_attribute_decimal|int|varchar
, hold the positions and other attribute values that might be related to the links above for the related products up-sells and cross-sellscatalog_product_entity_tier_price
contains the tier prices for the productscatalog_product_option
holds the product custom optionscatalog_product_option_price
holds the custom options pricescatalog_product_option_title
holds the custom options titlescatalog_product_option_type_value
holds the custom options type valuescatalog_product_option_type_price
holds the custom options price typescatalog_product_relation
holds a kind of redundant parent-child relation for configurable productscatalog_product_index_*
hold values for product attributes after reindexingcatalog_product_bundle_*
hold relations and options for bundle productsdonwloadable_*
- hold data related to downloadable products
That's all I got. I hope I didn't miss anything.