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
Selection of configurable items on custom theme
sohaib last edited by sohaib
we are using a custom theme. We are trying to add attributes of configurable products into or custom theme
we are adding the following statement in view file the path of the respective file is given in this parenthesis (packages\Webkul\Shop\src\Resources\views\products\view.blade.php)
and below given statement is copied from :resources\themes\velocity\views\products\view.blade.php"
please guide us through this how can we copy the functionality to add configurable attributes to the product detail page where we can dynamically get product variants.
devansh-webkul last edited by
Take a reference of this file,
If you are customizing the theme, then you have to customize the copy of this file also. So that your classes get compatible with your current theme.