wip 3d
This commit is contained in:
@@ -19,6 +19,15 @@ class ShopCart
|
||||
];
|
||||
}
|
||||
|
||||
public static function getSummary()
|
||||
{
|
||||
return [
|
||||
'count' => self::count(),
|
||||
'quantity' => self::getTotalQuantity(),
|
||||
'total' => self::getTotal(),
|
||||
];
|
||||
}
|
||||
|
||||
public static function remove($id)
|
||||
{
|
||||
return self::get()->remove($id);
|
||||
|
||||
Reference in New Issue
Block a user