Error in product variants after import csv

  • Posts: 20
  • Thank you received: 0
7 years 2 months ago #262610

-- HikaShop version -- : 3.0.0
-- Joomla version -- : Joomla! 3.6.5 Stable
-- PHP version -- : 5.6.28

hello

From the backend, we haver the following error in a product page when import variants csv.

Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public_html/administrator/components/com_hikashop/views/product/view.html.php on line 1896.

I attached the screenshot and the csv file.

File Attachment:

File Name: variants-1.csv
File Size:1 KB

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
7 years 2 months ago #262649

Hi,

Did you all all the values used in your CSV in that "Croatia" characteristic before the import ?
This error would happen if some of the values were missing from the characteristic you're using (the ones you don't see on your variants listing screenshot).
Could you provide a screenshot of the characteristic settings ?

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
7 years 2 months ago #262654

Hello,

Yes, i had all the values used in my CSV in Croatia characteristic before the import.
I send you attached the characteristic screenshot.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
7 years 2 months ago #262665

Hi,

Can you check that they are exactly the same ? No extra space at the end, or double space in the middle, etc ?

The following user(s) said Thank You: paulo25ci

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
7 years 1 month ago #265378

Issue Solved.

Thx for all.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum