Merge pull request #5188 from devansh-webkul/cart-merger
Fixed cart items which get increased when navigating away from the buy now functionality #5179
This commit is contained in:
commit
f4c1b37504
|
|
@ -15,7 +15,11 @@ class CartMerger
|
|||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
\Cart::mergeDeactivatedCart();
|
||||
/**
|
||||
* Currently removing the buy now cart only because in live
|
||||
* instance merging not happen properly need to check this.
|
||||
*/
|
||||
\Cart::activateCartIfSessionHasDeactivatedCartId();
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue