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

#   Import/Export products with variants

##

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 9 months ago [\#229126](#229126) by [DFX](/forum/user/9847-dfx "View DFX's Profile")  *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229126 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")* was created by *[DFX](/forum/user/9847-dfx "View DFX's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 2.5.28
-- PHP version -- : n/a
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : n/a

Hi,

I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?

Thanks,
Michael.

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

10 years 9 months ago [\#229151](#229151) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229151 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Hi,

You need to create first the characteristics and their values on your new website. Then the import should take into account the variants.

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 9 months ago [\#229181](#229181) by [DFX](/forum/user/9847-dfx "View DFX's Profile")  Replied by *[DFX](/forum/user/9847-dfx "View DFX's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229181 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Is that the only way? Surely for something as commonly used as variants Hikashop has a way to move them from one site to another without manual input???

I'm planning on upgrading these sites soon to 3.4 soon, so I'm going to have to setup all the variants again before I migrate them? This is a pretty big let down if that's the case.

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 9 months ago [\#229186](#229186) by [DFX](/forum/user/9847-dfx "View DFX's Profile")  Replied by *[DFX](/forum/user/9847-dfx "View DFX's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229186 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Furthermore; I did as you said and then get blank variants after import for some reason? I did a copy paste from the original site so they should be exactly the same names for the variants.

Am I doing something wrong?

Also, how do I remove the images of the variants on the product display?

Thanks again for your help.

- [ ![variant-values.jpg](/forum/attachment/29390) ](/forum/attachment/29390 "...ant-values.jpg") [ ](/forum/attachment/29390?download=1 "...ant-values.jpg")
- [ ![ipad-air-2.jpg](/forum/attachment/29391) ](/forum/attachment/29391 "ipad-air-2.jpg") [ ](/forum/attachment/29391?download=1 "ipad-air-2.jpg")
- [ ![ipad-air-2-product-display.jpg](/forum/attachment/29392) ](/forum/attachment/29392 "...ct-display.jpg") [ ](/forum/attachment/29392?download=1 "...ct-display.jpg")

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

10 years 9 months ago [\#229197](#229197) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229197 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Hi,

1. You don't need to recreate the variants. Only the characteristics. Normally, you have for example one color characteristic with 20 values, and you apply it to all the products with different colors.
So just recreating the characteristics and their values should be quite rapid.
And if you don't want to recreate them, you can just export the hikashop_characteristic table from your old website database and import it in the new database with PHPMyAdmin. It should only take a minute.

2. If you get blank variants, it's probably that the value of the characteristic column of the variant in the CSV doesn't exactly match with the value of the characteristic in the database.

3. You can add such CSS on your website:
.hikashop_product_image_row, .hikashop_product_image { display:none; }
[ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 9 months ago -  10 years 9 months ago [\#229333](#229333) by [DFX](/forum/user/9847-dfx "View DFX's Profile")  Replied by *[DFX](/forum/user/9847-dfx "View DFX's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229333 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

1 &amp; 2: Ok so I deleted all the variants from the new website and only left the characteristic but not variants/values. As a test, I just exported a single product category (iPad) and imported it to the new website. It just shows a bunch of errors regarding seeing columns that aren't in the new website and the variants are not created within the characteristic BUT there is now blank variants for each product with the correct value.

I guess this is still to do with point 2 in your last post but they look exactly the same to me? I have not checked the database manually, but I see any reason why it should have made it a different value unless I spelt it differently?

3. Ok thank you.

Thank you again for your help.

- [ ![error1.jpg](/forum/attachment/29417) ](/forum/attachment/29417 "error1.jpg") [ ](/forum/attachment/29417?download=1 "error1.jpg")
- [ ![newsite.jpg](/forum/attachment/29418) ](/forum/attachment/29418 "newsite.jpg") [ ](/forum/attachment/29418?download=1 "newsite.jpg")
- [ ![old-site.jpg](/forum/attachment/29419) ](/forum/attachment/29419 "old-site.jpg") [ ](/forum/attachment/29419?download=1 "old-site.jpg")
- [ ![variants.jpg](/forum/attachment/29421) ](/forum/attachment/29421 "variants.jpg") [ ](/forum/attachment/29421?download=1 "variants.jpg")

Last edit: 10 years 9 months ago by [DFX](/forum/user/9847-dfx "View DFX's Profile"). Reason: spelling

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

10 years 9 months ago [\#229361](#229361) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#229361 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Hi,

1&amp;2 As I said in my previous post, you don't need to create the variants in the new website, however I also said:

> So just recreating the characteristics and their values should be quite rapid.

So values have to be pre created as HikaShop won't create them automatically during the import.
Why not export the hikashop_characteristic table from your old website database and import it in the new database ? It should only take a minute and the problem would be solved.

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 9 months ago [\#230128](#230128) by [DFX](/forum/user/9847-dfx "View DFX's Profile")  Replied by *[DFX](/forum/user/9847-dfx "View DFX's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#230128 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Yes, no doubt copying the tables would have been easier but I don't have access to PHPMyAdmin on the original site at the moment and I didn't think this was going to be such a big problem.

Ok, I had already tried importing with the characteristics AND values created but that didn't work correctly. So that's why I then tried the import without the values pre-made and yes as you said in your response, that didn't work either. So I just tried again and again I'm back to having some blank variants.

So you said that this must happen because of mismatching values? I have put screen shots of both websites in here for you to see. Can you see a difference? Or is there another problem?

Thank you for your help.

- [ ![hika-website-1.jpg](/forum/attachment/29547) ](/forum/attachment/29547 "...-website-1.jpg") [ ](/forum/attachment/29547?download=1 "...-website-1.jpg")
- [ ![hika-website-2.jpg](/forum/attachment/29548) ](/forum/attachment/29548 "...-website-2.jpg") [ ](/forum/attachment/29548?download=1 "...-website-2.jpg")
- [ ![hika-product-variants.jpg](/forum/attachment/29550) ](/forum/attachment/29550 "...t-variants.jpg") [ ](/forum/attachment/29550?download=1 "...t-variants.jpg")

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

10 years 9 months ago [\#230625](#230625) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Import/Export products with variants](/forum/37-import-export-csv-xls/882153-import-export-products-with-variants#230625 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 2.5.28 -- PHP version -- : n/a -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I wanted to simply duplicate an entire Hikashop to a 2nd website. So I thought I could just use the import/export feature but it doesn't seem to be able to import the variants at all. The products and categories worked fine but not the variants. Did I need to make changes to something before I can import the variants? Do I need to do something on the new site so it can accept the variants or something like that?  Thanks, Michael.")*

Hi,

I just tried on my local, I added manually the "iPad" characteristic with its 8 values.
Then imported the product from your csv file, and the variants are correctly created, no blank name.

So there is potentially a setting different on your environment, maybe the database collation or something like that.
If you check the database of the new site, do you see all the content correctly or it is blank too ?

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

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