Skip to main content

registration bug

More
11 years 7 months ago #191732 by mcambou1
registration bug was created by mcambou1
-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.6.0
-- Joomla version -- : 3.3.6

hy ,
the informations of vendor in the registration are not saved (city , phone ...)
thanks for help

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

More
11 years 7 months ago #191760 by Jerome
Replied by Jerome on topic registration bug
Hi,

Would it be possible to have a link to your store in order to know more about your actual configuration ?
The registration can display address vendor fields like it can display the address user fields ; so these fields might not be saved in the same place. After that, HikaMarket have some plugins to synchronize the data between the user and his vendor account.
So having more details about your website will help us to understand.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
11 years 7 months ago #191793 by mcambou1
Replied by mcambou1 on topic registration bug
i sent you the url in private message
thanks for help .

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

More
11 years 7 months ago #191826 by Jerome
Replied by Jerome on topic registration bug
Hi,

Please edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace
Code:
$status = $this->save($vendor); if($status) {
By
Code:
$query = 'SELECT * FROM '.hikamarket::table('shop.field').' WHERE field_table = \'plg.hikamarket.vendor\' AND field_frontcomp = 1 AND field_published = 1 ORDER BY field_ordering'; $this->db->setQuery($query); $vendorFields = $this->db->loadObjectList(); if(!empty($vendorFields)) { foreach($vendorFields as $vendorField) { $namekey = $vendorField->field_namekey; if(substr($namekey, 0, 7) == 'vendor_') { $name = substr($namekey, 7); if(isset($status->address_data) && isset($status->address_data->$name)) $vendor->$namekey = $status->address_data->$name; } } } $status = $this->save($vendor); if($status) {
It will copy the user address to the vendor during the registration.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.183 seconds
Powered by Kunena Forum