[Skip to main content](#vessel-content)

#   \[solved\] Relation between tables for variants

##

- **[SG](/forum/user/12204-sg "View SG's Profile")**
- [![SG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12204-sg "View SG's Profile") Topic Author
- [ Offline](/forum/user/12204-sg)

Less More

- Posts: 101
- Thank you received: 12
-
-

12 years 2 months ago -  12 years 2 months ago [\#173863](#173863) by [SG](/forum/user/12204-sg "View SG's Profile")  *[\[solved\] Relation between tables for variants](/forum/37-import-export-csv-xls/872003-solved-relation-between-tables-for-variants#173863 "Hi,  How does hikashop know wich variant&#95;product&#95;id from &#95;hikashop&#95;variant belongs to a specific product in &#95;hikashop&#95;product  I didn't find a table where both are linked together.  The tables that are involved with variants are: &#95;hikashop&#95;variant and &#95;hikashop&#95;characteristic  Thanks.")* was created by *[SG](/forum/user/12204-sg "View SG's Profile")*

Hi,

How does hikashop know wich variant_product_id from _hikashop_variant belongs to a specific product in _hikashop_product

I didn't find a table where both are linked together.

The tables that are involved with variants are: _hikashop_variant and _hikashop_characteristic

Thanks.

Last edit: 12 years 2 months ago by [SG](/forum/user/12204-sg "View SG's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzIwMDMtc29sdmVkLXJlbGF0aW9uLWJldHdlZW4tdGFibGVzLWZvci12YXJpYW50cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[SG](/forum/user/12204-sg "View SG's Profile")**
- [![SG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12204-sg "View SG's Profile") Topic Author
- [ Offline](/forum/user/12204-sg)

Less More

- Posts: 101
- Thank you received: 12
-
-

12 years 2 months ago [\#173864](#173864) by [SG](/forum/user/12204-sg "View SG's Profile")  Replied by *[SG](/forum/user/12204-sg "View SG's Profile")* on topic *[Relation between tables for variants](/forum/37-import-export-csv-xls/872003-solved-relation-between-tables-for-variants#173864 "Hi,  How does hikashop know wich variant&#95;product&#95;id from &#95;hikashop&#95;variant belongs to a specific product in &#95;hikashop&#95;product  I didn't find a table where both are linked together.  The tables that are involved with variants are: &#95;hikashop&#95;variant and &#95;hikashop&#95;characteristic  Thanks.")*

Hi,

Sorry, I got confused but now I see ![:-)](/media/kunena/emoticons/3.png ":-)")
For each variant USED in a product an additional product is made in the table and the main product is then used as PRODUCT_PARENT_ID.

i was looking at a separate table but I was wrong

I will mark this as solved.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzIwMDMtc29sdmVkLXJlbGF0aW9uLWJldHdlZW4tdGFibGVzLWZvci12YXJpYW50cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
