Open hadisrjn opened 4 years ago
I'm using laravel 5.8 and when I want to use count it returns undefined method what is th problem?
<table class="shop_table shop_table_responsive table"> <tbody> <tr class="order-total count"> <th>تعداد</th> <td> <h6>{{ \Cart::count() }}</h6> </td> </tr> </tbody> </table>
Any help would be appreciated! @darryldecode
Try Cart::getContent()->count()
Cart::getContent()->count()
What about \Cart::getTotalQuantity()
\Cart::getTotalQuantity()
I'm using laravel 5.8 and when I want to use count it returns undefined method what is th problem?
Any help would be appreciated! @darryldecode