Timeline for Uncheck 'My billing and shipping address are the same' checkbox by default
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 4, 2024 at 9:47 | comment | added | sudo55 | thats perfectly works. | |
| Nov 24, 2022 at 20:02 | comment | added | Allysin | Hi Tu - I've done the steps you suggested in chat but it still does not work. | |
| Nov 23, 2022 at 22:52 | comment | added | Tu Van | Let us continue this discussion in chat. | |
| Nov 23, 2022 at 22:52 | comment | added | Tu Van | No. Once have you run php bin/magento setup:upgrade, you don't need to run rm -rf pub/static/frontend and php bin/magento cache:clean and php bin/magento cache:flush. And this task doesn't need to run php bin/magento indexer:reindex php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f | |
| Nov 23, 2022 at 22:44 | comment | added | Allysin | I deleted every Cache everywhere and it still shows up as ticked and with the Shipping address. I posted more details into my Original Post. Do I need to run: rm -rf pub/static/frontend ? | |
| Nov 23, 2022 at 22:22 | comment | added | Tu Van | No, using Vendor/Module is fine. Please hard reload the checkout page to check the result again. If it still does not work, do step 6 and check the result again. In case it still does not work, please take a screenshot of the Vendor/Module directory to allow me to know if you create the module correctly. | |
| Nov 23, 2022 at 22:17 | comment | added | Allysin | I've put the files in the exact directories you mentioned = in Step1: app/code/Vendor/Module/registration.php In Step 2: app/code/Vendor/Module/etc/module.xml In Step 3: app/code/Vendor/Module/view/frontend/requirejs-config.js In Step 4: app/code/Vendor/Module/view/frontend/web/js/model/shipping-save-processor/default.js In step 5: app/code/Vendor/Module/view/frontend/web/js/module/checkout-data-resolver-mixin.js I didn't rename any directories or files. In cases where the folders where missing, I just created them. How do I need to modify that 'requirejs-config.js' file then? | |
| Nov 23, 2022 at 21:42 | comment | added | Tu Van | For Step 3. In my example code the vendor name Vendor and module name is Module, assume you change the vendor name to TuVan and module name to Checkout, so you should change Vendor_Module to TuVan_Checkout. Is it clear now? If not, where you put my code in app/code directory? I confirm your files which I requested for debugging indicate you are still using default JS files from Magento_Checkout module, so if you apply my solution correctly, it will work as expected. | |
| Nov 23, 2022 at 21:23 | comment | added | Allysin | Thank you for putting this together. I'm really sorry for getting back to you this late - I just get really flustered with Magento sometimes. I have gone through all the steps and have updated my original post (past the double lines). I think I have done Step 3 wrong where you said: Remember to change Vendor_Module and Vendor/Module to matching your module. I really don't know what that means? How do I change that? Thank you. PS: I am counting on awarding you the 50 bounty points as promised on this as well! | |
| Nov 19, 2022 at 17:46 | history | answered | Tu Van | CC BY-SA 4.0 |