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
- greenlizzard
- RO CSVI
- Wednesday, 07 December 2016
- Subscribe via email
0
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Tharuna,
it will not allow me to add the debug log as it is too large 2.4mb
here is a screen capture of the import
it will not allow me to add the debug log as it is too large 2.4mb
here is a screen capture of the import
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Tharuna
I have managed to zip the log, so it is 95k, here it is
I have managed to zip the log, so it is 95k, here it is
Attachments (1)
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?
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi,
no this is the starnge thing, ther os no products in the courses category either
no this is the starnge thing, ther os no products in the courses category either
Accepted Answer
Pending Moderation
Hello,
Please send me your import file to test.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
Accepted Answer
Pending Moderation
Hello,
How about #__hikashop_product_category table? is records in there?
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
Would you also like to acces the website, I can give you access as it is still only in development
Attachments (1)
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Please send me a private message on your site administrator and database access details to check.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
Accepted Answer
Pending Moderation
Hello,
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.
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
- 2
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »