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

#   Main Product not showing only the variants

##

- **[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: 376
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 11 months ago [\#180660](#180660) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#180660 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

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

Hi,

i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)

product_parent_id product_code Colour
1501 BLACK
1501 1502 BROWN
1501 1503 LIGHT GREY

This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?

All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.

Please help.

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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 11 months ago [\#180661](#180661) 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 *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#180661 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hello,
Did you checked that the variant "Black" was correctly created/configured by using the "Manage variants" button of your product configuration page ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 376
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 11 months ago [\#180801](#180801) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#180801 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Black is the main product its not a variant. It shows on the product browse pages just fine. When you say not setup correctly what do you mean? Other main products without variants work fine. I need to get the import working as there are thousands of products to add.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14296
-
-

11 years 11 months ago [\#180816](#180816) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#180816 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hi,

Your CSV is not correct.
It should be:
product_parent_id;product_code;Colour
;1501;BLACK
1501;1502;BROWN
1501;1503;LIGHT GREY
1501;1504;BLACK

you need to have the black variant if you want to select the black value of the characteristic of the main product as default.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 376
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 11 months ago [\#180910](#180910) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#180910 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hi Nicolas,

Thnk you for getting back to me.

That would mean to add in thousands of extra lines into the CSV to basically double up one of the products! Seems a bit extreme?! I would also presume that the main product would have to have a dummy product code in it as it wocould never get ordered! Whats the point of that?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14296
-
-

11 years 11 months ago [\#181019](#181019) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#181019 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hi,

The point of having a main product and then variants is that you can configure stuff in your main product that will be passed on automatically to the variants.
So for example, when you have a 100 variants with the same product image, instead of setting the image 100 times, you do it once in the main product and the system passes the image to all the variants automatically. And it's basically the same for all the product fields. That actually saves a lot of duplication work.
So in your example, if you want to enter a product description you can specify it only for the main product, and not duplicate it for each variant:
product_parent_id;product_code;Colour;product_description
;1501;BLACK;my description
1501;1502;BROWN;
1501;1503;LIGHT GREY;
1501;1504;BLACK;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 376
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 11 months ago [\#181087](#181087) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#181087 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

HI Nicolas,

I do understand where you are coming from. However, we have worked with many suppliers that send us CSV's of products. In every CSV the products are delivered one per row, so if there are 3 different colours of a product they would be 3 lines in the CSV with all the details filled out.

Would you please concider adding in a function to make the master product also a variant when uploading via CSV? This would make your CSV format compatible with almost any supplier and save many hours having to add in duplicate lines just for the variants.

Many thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 86363
- Thank you received: 14296
-
-

11 years 11 months ago [\#181207](#181207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#181207 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hi,

I understand what you mean but the import system hasn't been made to support that and it's not that easy to add the way it's done so I can't give you a quick fix for that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzMxNjYtbWFpbi1wcm9kdWN0LW5vdC1zaG93aW5nLW9ubHktdGhlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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: 376
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 11 months ago [\#181310](#181310) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#181310 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

ok thanks Nicolas, could you please concider that in a future release? Many thanks.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#181317](#181317) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Main Product not showing only the variants](/forum/37-import-export-csv-xls/873166-main-product-not-showing-only-the-variants#181317 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3  Hi,  i have imported a few products via CSV. Sameple of the data below. (Colour is a predefined variant)  product&#95;parent&#95;id product&#95;code Colour 1501 BLACK 1501 1502 BROWN 1501 1503 LIGHT GREY  This imports fine. However, on the product browse page the product with code 1501 is displayed, however, when you click in to the product to choose an option i.e. Colour the only products displayed are the variants Brown and Light Grey, there is no option to choose black?  All Items are published and have stock etc is there something I need to do to get the main product to show as an option as well? Please keep in mind that there are thousands of products to load from a supplier so adding extra line in to double up the main product as a variant is not feasable and logically shouldn't be necessary.  Please help.  Many thanks.")*

Hi,

We will consider that.

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

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