Skip to main content

Vendor options set back to default

11 years 8 months ago - 11 years 8 months ago #195383 by pepecortez
Hi Jerome!

Just found another small bug, I've just checked the your online demo, it's still in it.

In administrator when vendors are listed on this link (/administrator/index.php?option=com_hikamarket&ctrl=vendor) and I change a vendor is published or not, all the vendor's options (Invoice Number format, Paypal email, Product limitation, Order notification status filter) are deleted, and set back to default. I think this shouldn't be normal.

If there's a fix for that, please give the codelines to change.
Thanks in advance!
Last edit: 11 years 8 months ago by pepecortez.

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

11 years 8 months ago #195398 by Jerome
Hi,

Thanks for the report.
Please edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace
Code:
if(!empty($vendor->vendor_params)){ $vendor->vendor_params = serialize($vendor->vendor_params); } else { $vendor->vendor_params = ''; }
By
Code:
if(!empty($vendor->vendor_params)) $vendor->vendor_params = serialize($vendor->vendor_params);
It will fix the issue.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: pepecortez

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

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