[-] BO : cart rules are now cleaned when a component of a product rule (like a product, a category, a supplier...) is deleted
This commit is contained in:
@@ -117,7 +117,10 @@ class ManufacturerCore extends ObjectModel
|
||||
return false;
|
||||
|
||||
if (parent::delete())
|
||||
{
|
||||
CartRule::cleanProductRuleIntegrity('manufacturers', $this->id);
|
||||
return $this->deleteImage();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user