Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Bagisto Shop support email definition

    Knowledge Base
    3
    7
    627
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      William Hatanaka last edited by

      Hello,
      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
      http://localhost/admin/configuration/general/general
      is the name of administrator. All of those fields are filled.

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hello @William-Hatanaka

        Add this field ADMIN_MAIL_NAME in .env file and provide value to it.

        Otherwise, override new-admin-order.blade and do required changes.

        W 1 Reply Last reply Reply Quote 0
        • W
          William Hatanaka @rahul last edited by

          @rahul
          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?

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hi @William-Hatanaka

            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

            1 Reply Last reply Reply Quote 0
            • W
              William Hatanaka last edited by

              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 !

              1 Reply Last reply Reply Quote 0
              • R
                rahul last edited by

                Hello @William-Hatanaka

                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 -
                https://forums.bagisto.com/topic/276/overide-admin-view-using-custom-package/5

                1 Reply Last reply Reply Quote 0
                • A
                  AshJi last edited by

                  @rahul Is it possible to have a sample code showing how to actually overwrite base files.
                  As working example will be helpful.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post