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

#   Relating products to child products

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 10 months ago [\#187016](#187016) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187016 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3

First off, great product thanks!

When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. ![:(](/media/kunena/emoticons/22.png ":(")
I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it?
Many thanks.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 10 months ago [\#187025](#187025) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187025 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

Hello,
Are you products published ? does it have quantity ? Can you check that your imported products are correctly added to the "Related products" tab of your product configuration page.

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

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 10 months ago [\#187111](#187111) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187111 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

Hi,

Thanks for your reply. Yes all the products are published and they do have quantity. They work fine from the parent product but not its children.

It would be so useful to relate to a child product?

Many thanks!

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#187124](#187124) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187124 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

Hi,

When you have a parent and a child ; it's for product variants (characteristics).
So that's logical that a variant is not displayed in the product listing because it's a variant for one product.
[ demo.hikashop.com/index.php/en/hikashop/...with-characteristics](http://demo.hikashop.com/index.php/en/hikashop/product-page/with-characteristics)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 10 months ago [\#187281](#187281) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187281 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

HI,

I do understand as its a variant of the product. However, it would be useful to link to the master product with the variant required preselected.

Like I said originally; Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. So why can't it link to the white two seater sofa with he "Black two seater sofa" as the preselected characteristic?

Thanks.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 10 months ago [\#187338](#187338) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187338 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

Hi,

I do indeed see what you mean. I your particular case, I do see the use for that capability.
The issue is that the related products listing is a listing of products and thus has been made to load products, like other products listings (if fact, it uses the same code as other products listings). So changing it to allow it to load variants as well would be in the realms of possibilities, but would require a lot of modifications and increase a lot the processing on the listings and thus reduce the speed of the processing for the products listings. So I don't see it coming, at least in the short term, especially since no one else requested such thing to be possible so far.
An alternative would be to add the HTML for the related products of each product in the description of the product and change the id of the product in the URL to the id of the variant and that way, when you click on the link to the product page of the related product, you would actually see the variant preselected on the page.

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

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 10 months ago [\#187484](#187484) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Relating products to child products](/forum/37-import-export-csv-xls/874308-relating-products-to-child-products#187484 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  First off, great product thanks!  When importing products via CSV you are able to specify the related products, which is great. However, in the CSV the related products can be child products of a parent, they import fine but don't show on the site. :( I think this would be a very useful feature. Imagine you had a black sofa chair, the related items would be a black three seater and a black two seater. However, if the Back two seater was a child product of a white two seater this would not be possible. Or would it? Many thanks.")*

Hi,

Thanks for your reply and suggested workaround.

Many thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzQzMDgtcmVsYXRpbmctcHJvZHVjdHMtdG8tY2hpbGQtcHJvZHVjdHM/dG1wbD1tYXJrZG93bg==) 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.064 seconds

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