Hello,
I try to Import products to VirtueMart but I can't .
I send you the log file.
Thanks.
Best Regards
Kostas
Accepted Answer
Pending Moderation
Hello Kostas,
Your log file is missing in the post. If the file is too big try to compress and post it. Also post the sample import file too
Your log file is missing in the post. If the file is too big try to compress and post it. Also post the sample import file too
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 Kostas,
Sorry to say but still your debug is missing in the post
Sorry to say but still your debug is missing in the post

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 Tharuna,
I've sent it via email because It can't be sent via post.
thanks
I've sent it via email because It can't be sent via post.
thanks

Accepted Answer
Pending Moderation
Hello Kostas,
So i checked your debug log and your sample file, the product from your sample file has product_sku which is UniqueID as per sample file and is "8932" but it is taken as '0018932' for some reason, have a look at the query below from debug log
Also, the same field value is used for virtuemart_product_id, check the other query
There is something not correct with setting up of template fields, Is there any rule set for fields? Can you post screenshot about your template fields and how have you set them?
So i checked your debug log and your sample file, the product from your sample file has product_sku which is UniqueID as per sample file and is "8932" but it is taken as '0018932' for some reason, have a look at the query below from debug log
SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `jos_virtuemart_products` WHERE `product_sku` = '0018932'
Also, the same field value is used for virtuemart_product_id, check the other query
UPDATE `jos_virtuemart_products` SET `virtuemart_vendor_id`='1',`product_parent_id`='0',`product_sku`='0018932',`product_weight`='0.345',`product_in_stock`='100',`product_ordered`='0',`low_stock_notification`='0',`product_available_date`='0000-00-00 00:00:00',`product_sales`='0',`product_params`='min_order_level=\"0\"|max_order_level=\"0\"|step_order_level=\"\"|product_box=\"0\"|',`pordering`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='2016-06-02 09:08:41',`modified_by`='153',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_product_id`='0018932'
There is something not correct with setting up of template fields, Is there any rule set for fields? Can you post screenshot about your template fields and how have you set them?
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 Tharuna,
the change from "8932" to '0018932 it's not a problem because I've made it via a Rule.
Thanks
the change from "8932" to '0018932 it's not a problem because I've made it via a Rule.
Thanks

Accepted Answer
Pending Moderation
Hello,
I understand it is with a rule, but there is a problem here, the product_sku and Virtuemart_product_id has the same value of '0018932' which dont seem correct.
the change from "8932" to '0018932 it's not a problem because I've made it via a Rule.
I understand it is with a rule, but there is a problem here, the product_sku and Virtuemart_product_id has the same value of '0018932' which dont seem correct.
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 Tharuna,
I removed Virtuemart_product_id field and now seems to be ok.
Thanks a lot
I removed Virtuemart_product_id field and now seems to be ok.
Thanks a lot

Accepted Answer
Pending Moderation
Hello Kostas,
Glad to know that your issue is solved. But I would also like to tell you that the usage of fields ending with _id is not recommended as using them will cause problem with your records in database. These _id fields are unique identifiers of a database table so better not to use them.
Glad to know that your issue is solved. But I would also like to tell you that the usage of fields ending with _id is not recommended as using them will cause problem with your records in database. These _id fields are unique identifiers of a database table so better not to use them.
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
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 »