You need to create the folder of same locale_code and file inside it with the same locale code.
And enable that locale in channels as default locale or select multiple locales in the channels.
Channels in Bagisto is regarding creating multiple storefront or websites in Bagisto. Here you can create multiple websites and manage them from single Admin Panel.
Kindly refer to the following blog: https://bagisto.com/en/how-to-create-multiple-websites-in-bagisto/
Hi,
If you want to create your own custom asset, then inside theme packages helper function, you can create your own function as we did.
function bagisto_asset($path, $secure = null)
{
return themes()->url($path, $secure);
}
After creating this function, you can use it according to your need.
Thanks
Rahul Shukla
Hello,
To create new pages in bagisto, you need to create a new packge in bagisto.I am reffering a link of
"how to create a packge in bagisto".
Here is link -https://bagisto.com/en/step-by-step-guide-for-bagisto-module-development/.
Using this, you can get the desired result.
Thanks
Hi yaser-az,
You can us this reference for your answer - https://forums.bagisto.com/topic/57/how-can-i-change-theme-and-write-own-html-for-front-end-section-not-the-admin-panel
& you can also check our repository for custom theme ( https://github.com/rahulshukla-webkul/bagisto-custom-theme ) .
Thanks
Rahul Shukla
Hi,
To change controller & view, you need to create your own controller, route & view according to laravel documentation.
To over ride controller -
->Your controller should contain the core path which you want to over ride & your method.
->Route will be provide in default route file & same as controller.
To over ride view
->In laravel's default view , there is folder called 'vendor' , your all view file will be here followed by same directory structure as in bagisto's view. (like Shop & admin)
Hello,
No, via event listeners it is not possible but we have provided option while editing product at admin end, we have provided three fields 'special price', 'special date from','special date to' as in figure below :
In the next release there will be a discount module their you can set conditions as you asked
There is slider.blade.php file inside views of shop package (shop->views->home->slider.blade.php), JSON data($sliderData) is retrieving from HomeCntroller's index method (inside shop package's controller).
To change design of it, create a theme of bagisto or override this file and create its design as you want.
Hi,
To achieve your requirements, you need write your own code in this method & it could be done like.
pass category in getFilterAttribues function.
get product belongs to that category.
retrieve attributes of those product.
Thanks
Rahul Shukla