laravelshoppingcart
laravelshoppingcart copied to clipboard
\Cart::getContent() return empty on another function/class
after add the items into the cart i want added data in another function /class and when i try to access it with this method \Cart::getContent() the its given empty data
a similar situation.
same issue
same issue
Did anyone found a solution for this?
In another file: Cart::session($userId); P.s simplicity is sometimes punishable