Bagisto Forum

    Bagisto

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

    Greetings to the customer

    Knowledge Base
    2
    7
    428
    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,
      There is a greeting to the customer logged on the website at the top of the page (Welcome,: customer_name).
      In Japan is common use the last name in this case. So how can I do this customization ?

      1 Reply Last reply Reply Quote 0
      • S
        shivam-webkul last edited by

        Hi @William-Hatanaka ,

        Simply you can override the customer profile index which path is given below
        packages->webkul->Shop->src->resources->view->customers->account->profile->index
        in that file you can show as you want text which is shown after logged in customer.

        Thanks

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

          Hello, @shivam-webkul ,
          I did some changes in this file (packages->webkul->Shop->src->resources->view->customers->account->profile->index) but nothing change...

          ChangeWelcomeName.png
          The name that is showing after word "Welcome" is :customer_name.
          I've translated the 'header.welcome-message' on the file 'app>bagisto>packages>Webkul>Velocity->src>Resources>lang>ja' .

          Thank you

          1 Reply Last reply Reply Quote 0
          • S
            shivam-webkul last edited by

            Hi @William-Hatanaka ,

            First you need to find login-section.blade.php which is inside
            packages/Webkul/Velocity/src/Resources/views/shop/layouts/top-nav/login-section.blade.php

            then look link no. 17 here you can modify custmer greeting as per as your requirement,
            Then don't forgot to publish the vendor from below cmd
            php artisan vendor:publish --force

            Thanks.

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

              Hello,
              Your tip solved my problem! Thank you very much !
              But when I run the following command:

              php artisan vendor:publish --force
              

              and choose option 0(zero) some others things is updated ...
              I am using the Google Web Fonts extension and one of things that I did to install this extension was to add a line on the file concord.php. The line is:

                      \Webkul\Webfont\Providers\ModuleServiceProvider::class,
              

              Thus, after the publish command this added line disappear.
              Is it normal?
              Thnak you !

              1 Reply Last reply Reply Quote 0
              • S
                shivam-webkul last edited by

                Hi @William-Hatanaka ,

                php artisan vendor:publish --force if you press 0 then all the vendor will be published,

                And if you want to publish a particular vendor then simply type index of that vendor.

                Thanks

                W 1 Reply Last reply Reply Quote 0
                • W
                  William Hatanaka @shivam-webkul last edited by

                  @shivam-webkul Thank you!

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