📜  购物车 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:39.091000             🧑  作者: Mango

代码示例1
For the alternative https://github.com/bumbummen99/LaravelShoppingcart 
which is the forked project of https://github.com/Crinsane/LaravelShoppingcart 
and also support the latest Laravel versions.

There is a method called `Cart::totalFloat()` which will return you float value 
for the cart total.