Remove some fields from checkout form
-
@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?
-
@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.
-
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. -
@akhtarkhan ok thank u, can u also tell me how can i remove compare ?
-
@Rahul74
As i can understand, are you talking about compare feature? -
@Vaishali-Agarwal yeah specially from header section, the compare icon and compare text
-
@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/3288once the files update you will get this in configuration as here https://prnt.sc/tmfmq0
-
@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!!
-
@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 -
@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?
-
@Rahul74
try by running php artisan vendor:publish --force -
@Vaishali-Agarwal am getting this error
-
@Rahul74
have you done any changes in the slider.blade.php?
Let me know when you're getting this issue. -
@Vaishali-Agarwal no, i didn't do anything to that file,
-
@Rahul74
there might be some cache issueyou can run the following command
-
composer dump-autoload
-
php artisan config:cache
-
php artisan vendor:publish
-
-
@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?
-
@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 branchyou can directly take a pull from master by adding git remote of bagisto https://github.com/bagisto/bagisto
-
@Rahul74 coz in some files like helper.php file, code line numbers are more than my current one
-
@Vaishali-Agarwal my project is already in live server, so how do i update all these changes?
-
@Rahul74
you can follow these steps to upgraded on latest version https://devdocs.bagisto.com/upgrade_to_latest_bagisto.html