Vendor options set back to default

  • Posts: 171
  • Thank you received: 9
9 years 1 month ago #195383

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: 9 years 1 month ago by pepecortez.

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 1 month ago #195398

Hi,

Thanks for the report.
Please edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace

		if(!empty($vendor->vendor_params)){
			$vendor->vendor_params = serialize($vendor->vendor_params);
		} else {
			$vendor->vendor_params = '';
		}
By
		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.

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.
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.056 seconds
Powered by Kunena Forum