Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
Get cart items in controller like in Payment class abstract
A Former User last edited by
Hi, I would like to take the items from the cart in my payment package as they are taken in paypal only I need them in the controller.
How can I proceed?
I tried to do that
$cart = $this->getCart();
But I do this in the controller and I can't extend it to the payment class
devansh-webkul last edited by
We have created a Facade for the
Cartclass. So you can directly access this as well.
... use Cart; ... $cart = Cart::getCart(); ...