Checkout: May "my Billing Address Is Different From Shipping Address" Be Unchecked By Default?

Hi!

Is there an easy way to uncheck the checkbox in the Billing Address section of the Checkout form? It looks like it's always checked by default. See also the image attached.

[attachment=15293:Screenshot 2022-01-12 143538.png]

The CS-Cart version is 4.14.1.SP1

Thank you in advance!

Screenshot 2022-01-12 143538.png

If you add extra field to Shipping or Billing address (not to both sections), the checkbox will be unchecked

If you add extra field to Shipping or Billing address (not to both sections), the checkbox will be unchecked

Hi! It's either not working or I'm doing this wrongly.

I added a new profile field and added it to the Shipping address layout block. Nothing was changed what concerns the billing address checkbox :-(

See also the screenshots attached.

[attachment=15295:Screenshot 2022-01-13 095139.png]

[attachment=15294:Screenshot 2022-01-13 095336.png]

Screenshot 2022-01-13 095336.png

Screenshot 2022-01-13 095139.png

Sorry, I misunderstood your questions. You should correct list of profile fields in the Billing and Shipping sections. They should be equal. In this case checkbox will be unchecked

Sorry, I misunderstood your questions. You should correct list of profile fields in the Billing and Shipping sections. They should be equal. In this case checkbox will be unchecked

No problem. I still can not get to the desired result.

I made the shipping and billing fields config almost the same (see the corresponding screenshot). The difference is the 1 field (Address type), which, it seems, I can do nothing about. It as a predefined field I understand (?)

[attachment=15297:Screenshot 2022-01-14 Profile fields config.png]

As the result I see now a new message appeared in the user profile "Billing and shipping addresses are the same", which is et to "YES" and saved.

[attachment=15298:Screenshot 2022-01-14 User profile view.png]

However I see no changes on the checkout page :-( The "My billing address is different from shipping address" checkbox is still checked.

[attachment=15299:Screenshot 2022-01-14 Checkout.png]

Screenshot 2022-01-14 Profile fields config.png

Screenshot 2022-01-14 User profile view.png

Screenshot 2022-01-14 Checkout.png

It is required to examine the issue. Possibly additional conditions were added to checkout

It is required to examine the issue. Possibly additional conditions were added to checkout

If I do some testing via the "billing.tpl" file, I'm having the impression the $user_data.ship_to_another is always false. Is there a way to see what $user_data contains? Although if I remove my code the value seems always TRUE. I'm lost :-(

responsive / templates / views / checkout / components / customer / billing.tpl

include file="views/profiles/components/profiles_scripts.tpl"}
{* test code *}
{if $user_data.ship_to_another}
{$use_billing_address = true}

{__('Ship to another: true')}

{else}
{$use_billing_address = false}
{/if}
{* end of test code *}
{* original_code
{$use_billing_address = $user_data.ship_to_another|default:true}
end_of_code *}
:

I had a similar issue at version 4.13.3 and cs cart team helped me quickly resolve the issue. They mentioned that it is a bug at lite checkout that will be fixed in next releases. You can contact them and ask them for help

Seems working now. Perhaps there was some cache issue.