How to delete a vendor?

  • Posts: 48
  • Thank you received: 0
11 years 2 months ago #89173

HikaShop 1.1

How can I delete a vendor?
I can add a vendore, edit, but there is no "Delete Vendor" button...

Thx

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
11 years 2 months ago #89180

Hi,

There is not "delete vendor" feature in HikaMarket. The impact of deleting a vendor are for the moment too important.
But you can unpublish a vendor.
If you made a "mistake", you can change all information about a vendor : Rename it, change his owner, etc.

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: theweasel68

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

  • Posts: 10
  • Thank you received: 0
9 years 11 months ago #158104

the unpublish vendor produces errors. payment terms are assigned to another vendor, the terms and conditions the seller is connected to another vendor ... it's unacceptable. I want to be able to completely remove the vendor account, as an administrator.

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
9 years 11 months ago #158112

Hi,

And what about the order (sub-order) for the vendor you want to delete ?
I don't see why the unpublishing a vendor will affect another one. The id of the vendor is kept, we still got a trace of him but he is not accessible. So I don't understand the error you got.

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: 10
  • Thank you received: 0
9 years 11 months ago #158133

O.K.
I found a solution, simply remove the entry in the databases.
What with orders? -nothing. as the vendor unsubscribe from the store can just be deleted.
you dont see error? look on screeshoot - BASIA is unpublishing

Attachments:

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
9 years 11 months ago #158153

Hi,

In the file "components/com_hikamarket/views/checkoutmarket/view.html.php" you can replace

$query = 'SELECT vendor_id, vendor_name, vendor_terms FROM '.hikamarket::table('vendor').' WHERE vendor_id IN ('.implode(',', $vendors).')';
By:
$query = 'SELECT vendor_id, vendor_name, vendor_terms FROM '.hikamarket::table('vendor').' WHERE vendor_published = 1 AND vendor_id IN ('.implode(',', $vendors).')';
It should solve the problem for the terms & conditions.

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: 95
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #164499

Hello,

Vendors can't be deleted they can only be unpublished. I have the latest HikaMarket and this problem is not solved. Do you have a solution to this? Because if I can't delete them there will be a mess with a lot of vendors.

Regards,

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

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

Hi,

There is not "delete vendor" feature in HikaMarket. The impact of deleting a vendor are for the moment too important.

When you want to delete a vendor, what HikaShop should do for the vendor products ? For the vendor orders ?
Does it means that you will lost the vendor information and you will have products with a "ghost" vendor, have sub orders with no real vendor attached ?

The impact of deleting a vendor is really important ; that's why it is still not possible to delete a vendor in the backend or we have to create a complicated interface to be sure that you want to delete a vendor and it will break a part of your store.

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: 10
  • Thank you received: 0
9 years 9 months ago #164607

Hi,
JEROME,
I still see you do not understand the problem.
I've written before, now explains it to you wideservices.
If we will handle many vendors and some of them go away is to create a big mess. We are system administrators and we have to have possibility TOTAL CONTROL. It's not your problem what happens to the goods or orders. You have available to us FULL CONTROL. We pay and that we require. If you would give this software for free that you would be able to introduce complexities and their concepts. Now is your duty to fulfill our needs.

WIDESERVICES, I wrote the above method is simple enough to permanently remove vendors. simply delete the records from the database PHP

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

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

Hi,

If you're aware and okay with the fact that it can cause a mess in your orders and in your products ; we can add a button.
But I know that it can have bad consequences if you delete a vendor who have products and orders.

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