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

#   Importing and characteristics issues

##

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

Less More

- Posts: 82
- Thank you received: 1
-
-

15 years 2 months ago [\#22937](#22937) by [FreshIdeas](/forum/user/2199-freshideas "View FreshIdeas's Profile")  *[Importing and characteristics issues](/forum/3-bug-report/22937-importing-and-characteristics-issues#22937 "Here is an example of what is occurring. We deleted products and are re-importing. Although the associated &quot;Glove Size&quot; characteristics are set up, it is not associating the characteristics.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=64  In order to &quot;fix&quot; it. I have to delete the entire characteristic file (ie Glove Size) and reenter the entire list in order for it to work.  And this one...all of the characteristics aren't showing, specifically sizes 1,2,3,4,5...but they are in the characteristic file called Size.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=61  I will give you backend access via private message. You actually have it.  Thank you.")* was created by *[FreshIdeas](/forum/user/2199-freshideas "View FreshIdeas's Profile")*

Here is an example of what is occurring. We deleted products and are re-importing. Although the associated "Glove Size" characteristics are set up, it is not associating the characteristics.

[ 174.121.38.60/~hhware/index.php?option=c...&amp;category\_pathway=64](http://174.121.38.60/~hhware/index.php?option=com_hikashop&ctrl=product&task=show&cid=94158&name=cotton-crochet-glove&Itemid=826&category_pathway=64)

In order to "fix" it. I have to delete the entire characteristic file (ie Glove Size) and reenter the entire list in order for it to work.

And this one...all of the characteristics aren't showing, specifically sizes 1,2,3,4,5...but they are in the characteristic file called Size.

[ 174.121.38.60/~hhware/index.php?option=c...&amp;category\_pathway=61](http://174.121.38.60/~hhware/index.php?option=com_hikashop&ctrl=product&task=show&cid=94278&name=ariatatrade-performer-iii-lace&Itemid=826&category_pathway=61)

I will give you backend access via private message. You actually have it.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjkzNy1pbXBvcnRpbmctYW5kLWNoYXJhY3RlcmlzdGljcy1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

15 years 2 months ago [\#23006](#23006) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Importing and characteristics issues](/forum/3-bug-report/22937-importing-and-characteristics-issues#23006 "Here is an example of what is occurring. We deleted products and are re-importing. Although the associated &quot;Glove Size&quot; characteristics are set up, it is not associating the characteristics.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=64  In order to &quot;fix&quot; it. I have to delete the entire characteristic file (ie Glove Size) and reenter the entire list in order for it to work.  And this one...all of the characteristics aren't showing, specifically sizes 1,2,3,4,5...but they are in the characteristic file called Size.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=61  I will give you backend access via private message. You actually have it.  Thank you.")*

There is no reason you would have to delete characteristics.

If it doesn't associate with the appropriate characteristic, it's maybe because you have tens of characteristics with the same values in them.
Why not just regroup them into one characteristic with more values ? You're importing your products information anyway, so it's not like you would need to delete all the generated variants when creating products via the interface of the back end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjkzNy1pbXBvcnRpbmctYW5kLWNoYXJhY3RlcmlzdGljcy1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 82
- Thank you received: 1
-
-

15 years 2 months ago [\#23199](#23199) by [FreshIdeas](/forum/user/2199-freshideas "View FreshIdeas's Profile")  Replied by *[FreshIdeas](/forum/user/2199-freshideas "View FreshIdeas's Profile")* on topic *[Re: Importing and characteristics issues](/forum/3-bug-report/22937-importing-and-characteristics-issues#23199 "Here is an example of what is occurring. We deleted products and are re-importing. Although the associated &quot;Glove Size&quot; characteristics are set up, it is not associating the characteristics.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=64  In order to &quot;fix&quot; it. I have to delete the entire characteristic file (ie Glove Size) and reenter the entire list in order for it to work.  And this one...all of the characteristics aren't showing, specifically sizes 1,2,3,4,5...but they are in the characteristic file called Size.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=61  I will give you backend access via private message. You actually have it.  Thank you.")*

I've been over this in another thread, that will be the case. There are reason why we have so many characteristics. There are several products with MULTIPLE characteristics...and some of them have the same variant. For instance -- Width - Reg, Slim, Wide and Lenth: Reg, Petite, Tall

The problem I am having is the characteristics are set up...and I import a file. We discovered we left some data off and deleted the products. We added the info (more enhanced product names and descriptions), re-upload and then some of the characteristics won't assign.

It's not the file, because when I delete the characteristic file (like glove size for instance) then delete the products, if I then re-set up the characteristics, then upload the file again, it works.

Therefore, it seems to me, that it doesn't matter that I have several characteristic files with similar data...something goes wrong when I have to delete products and try to upload them again. It doesn't happen with ALL The variants, just some. I'll have 5 sizes (or more) and it will associate some, but not others.

So please help me understand why this is happening. One big "size" file is not going to work. I had that ORIGINALLY and this happened and I had to delete and re-create the great big size file...and that was a huge pain.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjkzNy1pbXBvcnRpbmctYW5kLWNoYXJhY3RlcmlzdGljcy1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

15 years 2 months ago [\#23222](#23222) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Importing and characteristics issues](/forum/3-bug-report/22937-importing-and-characteristics-issues#23222 "Here is an example of what is occurring. We deleted products and are re-importing. Although the associated &quot;Glove Size&quot; characteristics are set up, it is not associating the characteristics.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=64  In order to &quot;fix&quot; it. I have to delete the entire characteristic file (ie Glove Size) and reenter the entire list in order for it to work.  And this one...all of the characteristics aren't showing, specifically sizes 1,2,3,4,5...but they are in the characteristic file called Size.    174.121.38.60/~hhware/index.php?option=c...&amp;category&#95;pathway=61  I will give you backend access via private message. You actually have it.  Thank you.")*

I still think that the problem comes from the fact that you have several characteristics with identical values. Because of that, the system doesn't associate with the correct values and it fails to generate the variant.
When you delete the characteristic and recreate it, you change the order in which the characteristics are parsed by the import as the new characteristic is now the first parsed. Thus it is then able to find the correct value of the correct characteristic and it works. That's why it's working after recreating the characteristic.

I think I found the problem in the code. Please change the code:
$this-&gt;characteristics[$characteristic-&gt;characteristic_parent_id]
by:
$obj-&gt;characteristics[$characteristic-&gt;characteristic_parent_id]
in the file administrator/components/com_hikashop/classes/characteristic.php (you should find three instances of that code in the loadConversionTables function ). That should solve the problem and the import should get the correct value of the correct characteristic now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjkzNy1pbXBvcnRpbmctYW5kLWNoYXJhY3RlcmlzdGljcy1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.353 seconds

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