¨4.0.1¨
This commit is contained in:
@@ -25,6 +25,7 @@ class ExcludedCategories
|
||||
return $next($coupon);
|
||||
}
|
||||
|
||||
|
||||
private function inExcludedCategories($coupon, $cartItem)
|
||||
{
|
||||
return $coupon->excludeCategories->intersect($cartItem->product->categories)->isNotEmpty();
|
||||
|
||||
Reference in New Issue
Block a user