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 use Bagisto? How can I customize parts of its functionality?
murl1dhar last edited by
I understand the question is vague. but if I could get some direction on how to start with some example.
for ex: if I want to add / remove fields in category, then how would I approach it?
We are in the process of publishing devdocs soon, you can expect it by the end of the coming week.
You can follow a few blogs at the start like https://forums.bagisto.com/category/9/knowledge-base
bagisto-mogul Banned last edited by bagisto-mogul
Hello @murl1dhar Currently we have not implemented any type of event system that would be responsible adding the fields in admin section forms.
Yet, the same thing is not true for storefront i.e customer section. If you check the view files of shop package in Root\Webkul\packages\src\resources\views , you will find this type of syntax, check the screenshot below:
This type of syntax in the picture above can be found in almost all views of the shop package. And it serves the purpose of the question that you've asked for.
To use this functionality you have to just implement the event subscribers for adding any extra functionality that you want like adding fields, static information, any dynamic information, etc.
You have to wait shortly for this type of thing get added for admin views. As this will rollout in new releases.
But soon in later releases we will add the blade event system through which you can add the things that you have asked for.
vittorio last edited by
@admin Whats about the docs?
Dev docs are still in progress from our side. However, we have few tutorials on our blog and today we will be publishing a blog on how to create modules. Hope that could be of help to you for the time being. Still, you have any query, do raise a ticket at bagisto.uvdesk.com or join our group here, developers will help you: https://www.facebook.com/groups/bagisto/
Devdocs has been updated and live. Did you got the chance to look at them: https://devdocs.bagisto.com/