S
S
Stanislav Pochepko2015-11-05 15:33:46
Laravel
Stanislav Pochepko, 2015-11-05 15:33:46

Why is LaravelShoppingcart throwing an error?

I am trying to use LaravelShoppingcart in my project. In the controller I do the following

Cart::add('293ad', 'Product 1', 1, 9.99, array('size' => 'large'));

and he answered me
ReflectionException in Container.php line 737:
Class cart does not exist
Everything is written in the config as in the manual on GitHub
PS I tried 3 different Carts and everything is the same

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question