Fixed flexshipping for 1.3.6 and 1.3.7

This commit is contained in:
Edward Yang 2023-06-02 16:18:42 +08:00
parent a29245b5d4
commit 6a16540d1b
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ class TotalService
public function countProducts(): mixed
{
$cartProducts = $this->getCartProducts();
return collect($cartProducts)->sum('quantity');
}
}