Deleting Vendor problem

  • Posts: 108
  • Thank you received: 6
9 years 7 months ago #172581

-- HikaMarket version -- : 1.4.3
-- Joomla version -- : 3.3.3
-- PHP version -- : 2.3.2

Hi I was trying to delete a vendor and run into the error: Warning: Creating default object from empty value in /home/siftmrkt/public_html/administrator/components/com_hikamarket/views/vendormarket/view.html.php on line 658

it seems to create a second blank product below the product I wish to delete...

I have read the forum posts on deleting a vendor so am using this sparingly, and have ensured the vendor does not have any products in the system

the code it is referring to is

if($vendor_id > 1) {

			$query = 'SELECT a.*, c.* FROM '.hikamarket::table('shop.order').' AS a INNER JOIN '.hikamarket::table('shop.user').' AS c ON a.order_user_id = c.user_id '.

					'WHERE a.order_vendor_id = ' . $vendor_id . ' AND a.order_type = \'subsale\' ORDER BY a.order_id DESC';

			$db->setQuery($query, 0, $vendor_limit_vendors);

			$orders = $db->loadObjectList();

		}


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

  • Posts: 108
  • Thank you received: 6
9 years 7 months ago #172582



here is a screenshot of the problem

Attachments:

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
9 years 7 months ago #172584

Hi,

We fixed some this problem in the latest HikaMarket build end of August.
There are several modifications in the view and in the controller ; all will be available in the next release.

If it is generating you some troubles to delete correctly a vendor, please let me know.

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.

  • Posts: 108
  • Thank you received: 6
9 years 7 months ago #172618

thanks that fixed it!

I didnt realize there were updated versions of 1.4.3

cheers

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

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