Jump to content
wzzly

Can't delete shop in multistore

Recommended Posts

Hi there,

I can't seem to delete a store that's in a shop group.

When I try to delete it I get a message saying it can't delete because of customer/order dependency.

I already deleted all customers and orders related to this shop, but I still get this message.

How can I delete a shop in multishop? It's not the main shop. But I have 3 shops in total and want to remove 1.

Share this post


Link to post
Share on other sites

You need to edit Shop.php, and return false at the beginning of checkDependency();
Did it a few times, never had issues.

Share this post


Link to post
Share on other sites

do you mean: function hasDependency($id_shop) ?

Share this post


Link to post
Share on other sites

Yes, correct, just return false so that it thinks it doesn't have any dependency and it can be removed

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More