• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Remove some fields from checkout form

General Discussion
3
22
2.0k
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.
  • R
    Rahul74 last edited by 21 Jul 2020, 08:07

    Hi can anyone help me with this, i want to remove these company name and last name fields from checkout form..
    Screenshot at Jul 21 13-35-26.png

    1 Reply Last reply Reply Quote 0
    • A
      akhtarkhan last edited by 22 Jul 2020, 06:49

      Dear Rahul,
      You can remove any field from checkout form through this page,
      I also mentioned the path of the file, after removing field you have to run
      php artisan vendor:publish --force command and you will get your desired form which you want.

      path=https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage

      12.png

      11.png

      R 2 Replies Last reply 22 Jul 2020, 07:53 Reply Quote 1
      • R
        Rahul74 @akhtarkhan last edited by 22 Jul 2020, 07:51

        @akhtarkhan Hi akhtarkhan, thanks for ur reply, but that is not working, after shipping to this address, next form is not coming. Can u tell me it is working fine at ur end with same solution?
        Screenshot at Jul 22 13-15-07.png

        1 Reply Last reply Reply Quote 0
        • R
          Rahul74 @akhtarkhan last edited by 22 Jul 2020, 07:53

          @akhtarkhan plz try it in incognito mode, coz first it seems to work well in localhost, but when i try the same localhost in incognito mode, its not working, and in my live server also its not working.

          1 Reply Last reply Reply Quote 0
          • A
            akhtarkhan last edited by akhtarkhan 22 Jul 2020, 08:36 22 Jul 2020, 08:34

            Dear Rahul,
            You can change code in OnePageController which is in Shop package. It will take lots of customization so you can do this by yourself from this controller.

            address.png

            R 1 Reply Last reply 22 Jul 2020, 08:38 Reply Quote 0
            • R
              Rahul74 @akhtarkhan last edited by 22 Jul 2020, 08:38

              @akhtarkhan ok thank u, can u also tell me how can i remove compare ?

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by Vaishali Agarwal 22 Jul 2020, 08:42 22 Jul 2020, 08:42

                @Rahul74
                As i can understand, are you talking about compare feature?

                R 1 Reply Last reply 22 Jul 2020, 08:46 Reply Quote 0
                • R
                  Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 08:46

                  @Vaishali-Agarwal yeah specially from header section, the compare icon and compare text

                  1 Reply Last reply Reply Quote 0
                  • V
                    Vaishali Agarwal last edited by 22 Jul 2020, 08:51

                    @Rahul74
                    We have added this feature in master branch, it will soon released in new version.
                    till then go with this PR https://github.com/bagisto/bagisto/pull/3288

                    once the files update you will get this in configuration as here https://prnt.sc/tmfmq0

                    R 1 Reply Last reply 22 Jul 2020, 09:25 Reply Quote 0
                    • R
                      Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 09:25

                      @Vaishali-Agarwal Hi, actually i don't know how to get the PR, to my existing bagisto project which is in live. Can u plz tell me the steps it will be grateful!!

                      1 Reply Last reply Reply Quote 0
                      • V
                        Vaishali Agarwal last edited by Vaishali Agarwal 22 Jul 2020, 10:38 22 Jul 2020, 10:35

                        @Rahul74
                        Yes sure.

                        open this PR & you will see the total 23 files has been changed.
                        open each file at your locale code then update the changes. also check this https://prnt.sc/tmhtu3

                        R 1 Reply Last reply 22 Jul 2020, 13:04 Reply Quote 0
                        • R
                          Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 13:04

                          @Vaishali-Agarwal Hi thank u for that, i did changes to all the files, and compare button also appeared but enabled or disabled, compare text and icons doesn't remove still.
                          what could be the problem? Any commands do i need to run or something?
                          Screenshot at Jul 22 18-28-11.png

                          1 Reply Last reply Reply Quote 0
                          • V
                            Vaishali Agarwal last edited by 22 Jul 2020, 13:05

                            @Rahul74
                            try by running php artisan vendor:publish --force

                            R 1 Reply Last reply 22 Jul 2020, 14:21 Reply Quote 0
                            • R
                              Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 14:21

                              @Vaishali-Agarwal am getting this error
                              Screenshot at Jul 22 19-16-42.png

                              1 Reply Last reply Reply Quote 0
                              • V
                                Vaishali Agarwal last edited by 22 Jul 2020, 14:27

                                @Rahul74
                                have you done any changes in the slider.blade.php?
                                Let me know when you're getting this issue.

                                R 1 Reply Last reply 22 Jul 2020, 14:39 Reply Quote 0
                                • R
                                  Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 14:39

                                  @Vaishali-Agarwal no, i didn't do anything to that file,

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    Vaishali Agarwal last edited by Vaishali Agarwal 22 Jul 2020, 14:45 22 Jul 2020, 14:45

                                    @Rahul74
                                    there might be some cache issue

                                    you can run the following command

                                    • composer dump-autoload

                                    • php artisan config:cache

                                    • php artisan vendor:publish

                                    R 1 Reply Last reply 22 Jul 2020, 14:51 Reply Quote 0
                                    • R
                                      Rahul74 @Vaishali Agarwal last edited by 22 Jul 2020, 14:51

                                      @Vaishali-Agarwal still getting the same error. May be if u give me the github link for the all the changes that happened after bagisto 1.1.2, not just for compare option, so that i can changes all that and get the current result? is it a good idea?

                                      R 1 Reply Last reply 22 Jul 2020, 14:55 Reply Quote 0
                                      • V
                                        Vaishali Agarwal last edited by 22 Jul 2020, 14:55

                                        @Rahul74
                                        Yes, as currently master version has too many changes, but if you're testing it on localhost then surely you can upgrade the code directly from master branch

                                        you can directly take a pull from master by adding git remote of bagisto https://github.com/bagisto/bagisto

                                        R 1 Reply Last reply 22 Jul 2020, 15:01 Reply Quote 0
                                        • R
                                          Rahul74 @Rahul74 last edited by 22 Jul 2020, 14:55

                                          @Rahul74 coz in some files like helper.php file, code line numbers are more than my current one

                                          1 Reply Last reply Reply Quote 0
                                          10 out of 22
                                          • First post
                                            10/22
                                            Last post