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
Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
PieterM last edited by
On my product page the customer can add a personalised text that can be printed on the product.
Now I have added this inputfield on the overridden view with a custom name.
The problem I have is that this data is send in the request but it isn't saved on the cart-items tableobject. The table is already updated with this new field. I sah in code that I need to override the packages/Webkul/Checkout/src/Cart.php class because here the array with data is given to the createItem method.
My question is how can I override this class?
If there is a better method to achieve this please inform me.
rahul last edited by
Please read below one -