wzzly Posted March 4, 2020 Share Posted March 4, 2020 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. Link to comment Share on other sites More sharing options...
NemoPS Posted March 6, 2020 Share Posted March 6, 2020 You need to edit Shop.php, and return false at the beginning of checkDependency(); Did it a few times, never had issues. Link to comment Share on other sites More sharing options...
wzzly Posted March 18, 2020 Author Share Posted March 18, 2020 do you mean: function hasDependency($id_shop) ? Link to comment Share on other sites More sharing options...
NemoPS Posted March 20, 2020 Share Posted March 20, 2020 Yes, correct, just return false so that it thinks it doesn't have any dependency and it can be removed Link to comment Share on other sites More sharing options...
shikotak Posted June 2, 2022 Share Posted June 2, 2022 On 3/6/2020 at 5:22 PM, NemoPS said: You need to edit Shop.php, and return false at the beginning of checkDependency(); Did it a few times, never had issues. Hi, How can I find shop.PHP in Prestahsop 1.7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now