Support is offline. We are back Monday 23 November, 09:00.

Incidents when importing Virtuemart users - Users Info #60393

Resolved diegob opened this topic Monday, 28 October 2019 · 3 replies
Author

hello
I'm trying to import users through a CSV file and initially imports them correctly but when I access the file of virtuemart buyers and intendo modify the following error occurs
" Error
vmError: There is a serious problem with your store, there are entries with the same virtuemart_vendor_id 1 enable the vmdebug or check your virtuemart log files and fix it immediatly. Use the setStoreOwner function in Tools and Migration
vmError: storing user data
"
If I do it manually, there's no problem.
The import file is as follows:

username|password|email|cif|address_type|address_type_name|first_name|last_name|address_1|zip|city|phone_1|usergroup_name|shopper_group_name|virtuemart_country_id|virtuemart_state_id
F2525|$2y$10$H9TrZaSaG1VPo53E9NcLyuxUeeGrnZj/W2/LwjCx6bSNmShRhG7HO|rodriguez@conal.com|T000000X|Billing address||Tom|Ro|c/ Ocean Artico|10005|Caceres|927666555|Super Usuario|-default-|195|332

Thanks,

Support

Hello,
I ran VirtueMart User info import with your content and i am not seeing this error. Can you tell us which version of RO CSVI and VirtueMart you are using?

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hello,
The import is done perfectly, the problem lies in when you enter the Virtuemart buyers tab of any of the ones you have imported and try to save. That's when the error occurs and it won't let you record.
I've seen that if you think about tools and data migration
and enter the seller's id in
Enter the new store owner's id here _________________________ < Establish store owner>
The problem is solved and now allows you to enter the card of imported buyers and save. But if you import others again the problem is repeated.
I don't know if you can help me in why I need that refesco for everything to work.
thank you

Support

Hello,
By default, RO CSVI gets the first vendor id from #__virtuemart_vendors table and inserts it for virtuemart_vendor_id field for shoppers if there is no vendor set in import file. VirtueMart throws the error you posted when two shoppers have same virtuemart_vendor_id. I was able to reproduce the error and fix it. Please load the attached patch file and run the import again. Check if your issue is solved.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.