[Skip to main content](#vessel-content)

#   Turn off "Address is also a billing address" in new address creation

##

- **[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")**
- [![jsyaruss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11900-jsyaruss "View jsyaruss's Profile") Topic Author
- [ Offline](/forum/user/11900-jsyaruss)

Less More

- Posts: 103
- Thank you received: 7
-
-

8 years 4 months ago [\#295869](#295869) by [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")  *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295869 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")* was created by *[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")*

-- url of the page with the problem -- : [ www.stutteringtherapyresources.com](http://www.stutteringtherapyresources.com)
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 7.0.30
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : no error message

Hello - I would like to hide / turn off the checkbox on the new address form for "Address is also a billing address" or "Address is also a shipping address."

The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).

I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.

I can't figure out what view that is on or what code I have to comment out, though.

Help? Thank you.

Scott

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 4 months ago [\#295871](#295871) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295871 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

Hi,

To check which view file it is, you can activate the "display view files" setting in the HikaShop configuration.
You'll see it's the view file "show_block_address".
There you have that code: Code:

&lt;input type="hidden" name="data[address_selecttype_&lt;?php echo $this-&gt;step . '_' . $this-&gt;module_position; ?&gt;]" value="1" /&gt; &lt;label&gt;&lt;input type="checkbox" checked="checked" name="data[address_bothtypes_&lt;?php echo $this-&gt;step . '_' . $this-&gt;module_position; ?&gt;]" value="1"&gt; &lt;?php $other = ($this-&gt;options['new_address_type'] == 'billing') ? 'shipping' : 'billing'; echo JText::_('HIKASHOP_ALSO_'.strtoupper($other).'_ADDRESS'); ?&gt;&lt;/label&gt;

The following user(s) said Thank You: [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")**
- [![jsyaruss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11900-jsyaruss "View jsyaruss's Profile") Topic Author
- [ Offline](/forum/user/11900-jsyaruss)

Less More

- Posts: 103
- Thank you received: 7
-
-

8 years 4 months ago [\#295899](#295899) by [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")  Replied by *[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295899 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

EXCELLENT! Thanks for this. I was able to remove that bit of code and now it works exactly as I wanted...

EXCEPT for one minor thing.

When I return to the page with the billing and shipping addresses after entering a new address, the system requires me to press NEXT twice to move on to the shipping page.

If I don't enter a different billing/shipping address or if I select addresses from the drop-down menu, then it only requires me to press NEXT once (as it should).

I'm unable to figure out why it requires me to select NEXT twice when I enter a new address. Help?

Again, thanks.
Scott

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 4 months ago [\#295933](#295933) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295933 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

Hello Scott,

Thank you for your feedback, the solution will just be to edit the code of your "show_block_address" file of the "checkout" view of your front-end template, and change these lines : Code:

echo $this-&gt;fieldClass-&gt;display( $field, @$this-&gt;edit_address-&gt;$fieldname, 'data[address_'.$this-&gt;step . '_' . $this-&gt;module_position.']['.$fieldname.']', false, ' class="hkform-control" ' . $onWhat . '="window.hikashop.toggleField(this.value,\''.$fieldname.'\',\'address_'.$this-&gt;step . '_'.$this-&gt;module_position.'\',0,\'hikashop_checkout_\');"', false, $this-&gt;cart_addresses['fields'], $this-&gt;edit_address, false ); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php

By : Code:

echo $this-&gt;fieldClass-&gt;display( $field, @$this-&gt;edit_address-&gt;$fieldname, 'data[address_'.$this-&gt;step . '_' . $this-&gt;module_position.']['.$fieldname.']', false, ' class="hkform-control" ' . $onWhat . '="window.hikashop.toggleField(this.value,\''.$fieldname.'\',\'address_'.$this-&gt;step . '_'.$this-&gt;module_position.'\',0,\'hikashop_checkout_\');"', false, $this-&gt;cart_addresses['fields'], $this-&gt;edit_address, false ); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;input type="hidden" name="data[address_selecttype_&lt;?php echo $this-&gt;step . '_' . $this-&gt;module_position; ?&gt;]" value="1" /&gt; &lt;?php

The following user(s) said Thank You: [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")**
- [![jsyaruss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11900-jsyaruss "View jsyaruss's Profile") Topic Author
- [ Offline](/forum/user/11900-jsyaruss)

Less More

- Posts: 103
- Thank you received: 7
-
-

8 years 4 months ago [\#295943](#295943) by [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")  Replied by *[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295943 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

SUPERB! That did it exactly.

Thank you again for your excellent and quick service!

Scott

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 4 months ago -  8 years 4 months ago [\#295954](#295954) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295954 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

Hello,

Happy to see your satisfaction !
If you want to support us other than simply being our customer, remember that you can express yourself on the [ **Joomla Extensions Directory**](https://extensions.joomla.org/extensions/extension/e-commerce/shopping-cart/hikashop/), this will help us a lot !

Best regards

Last edit: 8 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")**
- [![jsyaruss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11900-jsyaruss "View jsyaruss's Profile") Topic Author
- [ Offline](/forum/user/11900-jsyaruss)

Less More

- Posts: 103
- Thank you received: 7
-
-

8 years 4 months ago [\#295965](#295965) by [jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")  Replied by *[jsyaruss](/forum/user/11900-jsyaruss "View jsyaruss's Profile")* on topic *[Turn off "Address is also a billing address" in new address creation](/forum/27-checkout/895352-turn-off-address-is-also-a-billing-address-in-new-address-creation#295965 "-- url of the page with the problem -- :   www.stutteringtherapyresources.com  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.30 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : no error message  Hello - I would like to hide / turn off the checkbox on the new address form for &quot;Address is also a billing address&quot; or &quot;Address is also a shipping address.&quot;  The multiple addresses that this creates causes confusion or my customers, all of whom have only one shipping and one billing address (and most of the time, those are the same).  I've figured out how to have it default to the shipping and billing addresses being the same - that is great. But, in those cases where they do need to enter a different shipping address, I'd like it to not display that checkbox after the address entry.  I can't figure out what view that is on or what code I have to comment out, though.  Help? Thank you.  Scott")*

oh, sure thing. will do! Thanks again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTM1Mi10dXJuLW9mZi1hZGRyZXNzLWlzLWFsc28tYS1iaWxsaW5nLWFkZHJlc3MtaW4tbmV3LWFkZHJlc3MtY3JlYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
