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
How to get products all custom attributes with values for API call??
Megalight last edited by Megalight
I create the Singel page application with react and use Bagisto admin.
I need to get products all custom attributes for filtering products.
I have a custom attribute range (in admin) with values [200,500,1000]. I want to be shot to the user all that, if hi click to some value show products have that value (custom filtering logic);
How to get custom attributes????
vishalK last edited by
You can use product view helper to get custom attributes of product
$customAttributeValues = $productViewHelper->getAdditionalData($product)