1. greenlizzard
  2. RO CSVI
  3. Wednesday, 07 December 2016
  4.  Subscribe via email
Hi
I am doing a xml import to hikashop, but when I run the import it says it updated 750 products, but I can not find any of the imported products in Hikashop.

I have run the analyzer and the field map correctly
I have set up hikashop with the product category called courses
I have created the template with the connected fields
it seems to have worked but I can not see the products

Am I doing something wrong here?

Any help would be greatly appreciated, amany Thanks
Accepted Answer Pending Moderation
Hello,
Can you also post the debug log and sample import file of your import? To know how to get the debug log, check Where to get the debug information? section on top of this page.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
The screen captures wont help me in finding the issue. It is always suggested to try the import with only a few records and once everything goes well, do the full import. This way you get a debug log smaller in size too. Please send a private message of the debug log or email it to tharuna@csvimproved.com. I would also need your import file to test.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hi Tharuna
I have managed to zip the log, so it is 95k, here it is
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
The debug log says that products have been updated. So the products are already in the database and are updated which looks good. In your first post, third screenshot you have clicked on category Root in HikaShop page, the products are imported into courses category, what if you click on courses category, do you see the products?. If not, Can you also post the sample import file?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hi,
no this is the starnge thing, ther os no products in the courses category either
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello,
Please send me your import file to test.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hi Tharuna
I just had a look at my mysql database and the products are imported into the database files, but they are just not showing up in Hikashop in the back end
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,
How about #__hikashop_product_category table? is records in there?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
That is the problem, category is not imported then. I need to check with your template and import file. Again, can you send me your sample XML import file?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Here it is
Would you also like to acces the website, I can give you access as it is still only in development
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Hello,
I found the cause for the issue, the problem is with product_type field, in your import it is imported as 1 as per your XML file value but HikaShop default value is 'main' and so products are not showing on backend. In your template fields you can set default value to this field as main so it is not read from your import file and then do the import. Also your products are not assigned to any categories as you don't have a category_path field in your import. If you want your products to be assigned to courses category, you can add a template field category_path and set default value to courses. This way CSVI will assign all your products to courses category as default in import. Let me know if this fixes your issues.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
ok, I will give this a try and see
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
Hi Tharuna
I have done as above but it is still not showing
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
Hello,
Please send me a private message on your site administrator and database access details to check.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 16
Accepted Answer Pending Moderation
Hello,
Please check now, your products are showing up on backend. I did few changes to your template fields to do the import.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 17
Accepted Answer Pending Moderation
Brilliant, thank you Tharuna,

one question can i actually import particular products in to particular categories?

ie all prince2 courses which have a unique course code of 3 in the category courses/prince2
  1. more than a month ago
  2. RO CSVI
  3. # 18
Accepted Answer Pending Moderation
Hello,
one question can i actually import particular products in to particular categories?

Yes you can, you need to add category_path into your XML import file along with other product fields and set the XML path in your template fields for category_path.

ie all prince2 courses which have a unique course code of 3 in the category courses/prince2

There is no direct way of doing this but can be done using CSVI replacement rules.

1.Copy the coursecode value to category_path field using field copy plugin. So now category_path value will be 3.
2. Create a replacement rule which would find 3 and replace it with courses/prince2. Apply this rule on category_path field so whenever CSVI finds the value 3 in category_path field it will replace it new value and same will be imported.

You may need to create as many replacement rules as you want according to the coursecode value and apply all to the category_path field. Try it and let me know if it helps.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 19
Accepted Answer Pending Moderation
Hi Tharuna,
I have tried to apply what you have sais but it does not seem to be working, maybe I am not following you correctly.

can you expand more on this for me.

Regards
Gerald
  1. more than a month ago
  2. RO CSVI
  3. # 20
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
Be one of the first to reply to this post!