Bagisto Shop support email definition
I am translating the site to Japanese.
In the Order confirmation email there is a sentence:
If you need any kind of help please contact us at :support_email
I am not able to find where to define this email.
Could you guide me the definition place?
When a order is confirmed one email goes to customer email and other goes to administrator. The mail sent to administrator must be appear the name of him in the greeting part. But the name is blank (admin_name).
I think the name defined in the following page
is the name of administrator. All of those fields are filled.
Add this field ADMIN_MAIL_NAME in .env file and provide value to it.
Otherwise, override new-admin-order.blade and do required changes.
Ok!I thought that I've forgot to configure my shop completely!
So I will try to override the new-admin-order.blade.php conform to my needs.
I worry if I do a lot of customizing Bagisto when I decide to update Bagisto to a new version I will lost all of them...
Is my worry well founded?
You will not lose them but always make package for your customization and follow this one for update - https://devdocs.bagisto.com/upgrade_to_latest_bagisto.html
Hey, @rahul !
Sorry, I am not fluent in English, so for this reason I could misunderstand you. But I did understand in your reply that if I do any customization I need to create a new package for each customization rather than make changes on exist package, for example, in this my case, about the email ?
If I understanded correctly, in this case, how I need to do a new package to solve this problem?
I am intended to make my modifications directly on packages>Webkul>Shop>src>Resources>views>emails>sales>new-admin-order.blade.php
Could you cofirm if I've understand your reply correctly?
Thank you !
You need to create a new package for customization so if version update so you don't need to worry as all our changes are in our customised packages and not necessary to create a new package for every change, in only one customised package, we can do all changes.
Please follow this one for the above example -
@rahul Is it possible to have a sample code showing how to actually overwrite base files.
As working example will be helpful.