Hi,
On the new address creation form, to avoid that, you can change the line:
if(!empty($this->options['same_address']) && !empty($this->options['new_address_type'])) {
to:
if(!empty($this->options['same_address']) && !empty($this->options['new_address_type']) && ($this->options['new_address_type'] == 'shipping' || $this->options['show_shipping'])) {
in the file show_block_address via the menu Display>Views.
For the registration form, you can add the code:
$checkoutHelper = hikashopCheckoutHelper::get();
if(!$checkoutHelper->isShipping()) {
$params['same_address'] = 0;
}
after the code:
if(!isset($params['same_address_pre_checked']))
$params['same_address_pre_checked'] = 1;
in the file administrator/components/com_hikashop/helpers/checkout/login.php
We'll add both changes on our end for the next version of HikaShop.