Skip to content

Uncheck ‘My billing and shipping address are the same’ checkbox by default

Magento 2.4.2-p1
Amasty extensions
Smartwave Porto theme

I have a gift shop. All of our customers always order gifts for someone else so it will always be the case that the Shipping address will be different from the Billing address.

I tried to follow (the same) steps in these 2 articles:

https://itecnotes.com/magento/magento-magento-2-uncheck-my-billing-and-shipping-address-are-the-same-checkbox-in-checkout-payment-page-based-on-shipping-method/

Magento 2 : Uncheck My billing and shipping address are the same checkbox in checkout payment page based on shipping method

I followed all the steps of the ‘Magento best practices way‘. I did not have some of the subdirectories, so I created them. Afterwards, I ran the following:

rm -rf pub/static/frontend
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy -f

I also deleted all browser Cache but the ‘My billing and shipping address are the same’ option continues to be ticked (checked) by default. What changes do I need to make in order for this to work?