Bagisto Forum

    Bagisto

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

    Remove some fields from checkout form

    General Discussion
    3
    22
    1992
    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

      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

        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 Reply Quote 1
        • R
          Rahul74 @akhtarkhan last edited by

          @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

            @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

              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 Reply Quote 0
              • R
                Rahul74 @akhtarkhan last edited by

                @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

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

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Rahul74 @Vaishali Agarwal last edited by

                    @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

                      @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 Reply Quote 0
                      • R
                        Rahul74 @Vaishali Agarwal last edited by

                        @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

                          @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 Reply Quote 0
                          • R
                            Rahul74 @Vaishali Agarwal last edited by

                            @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

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

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                Rahul74 @Vaishali Agarwal last edited by

                                @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

                                  @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 Reply Quote 0
                                  • R
                                    Rahul74 @Vaishali Agarwal last edited by

                                    @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

                                      @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 Reply Quote 0
                                      • R
                                        Rahul74 @Vaishali Agarwal last edited by

                                        @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 Reply Quote 0
                                        • V
                                          Vaishali Agarwal last edited by

                                          @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 Reply Quote 0
                                          • R
                                            Rahul74 @Rahul74 last edited by

                                            @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
                                            • First post
                                              Last post