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

#   change address options on hikashop checkout

##

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 4 months ago [\#203236](#203236) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203236 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")* was created by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")*

Hi,

I need your help.

In my checkout I have to diferent sides to change the address.
One for billing and another for shipping.

But I need to do some changes and I don't found the place.
I have maked some changes on diferent views of checkout address and I need some help to do some changes.
At this moment I have this:

[ ![billing.png](/forum/attachment/24674) ](/forum/attachment/24674 "billing.png")

One of this box on billing side and another to shipping.
The changes that i need are:

1. Remove the select from billind side. I want only the box with the unique billing address that the customer have.
2. Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.

This changes it's only in checkout process (select addresses).

Thanks for your help.
Regards

- [ ![billing.png](/forum/attachment/24674) ](/forum/attachment/24674 "billing.png") [ ](/forum/attachment/24674?download=1 "billing.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 4 months ago [\#203277](#203277) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203277 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")*

Hi,

The views are : "checkout &#124; address_selector". and "address &#124; show"

If you want to change the address selector, you have an option in the HikaShop configuration ; where you can choose between 3 different modes.
Depending the mode, the selection is different and the checkbox is not used.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 4 months ago -  11 years 4 months ago [\#203419](#203419) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  Replied by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")* on topic *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203419 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")*

Hi, yes I know that we can do some changes in this views, but the problem it's because I don't want to change in the both sides, but only in Billing side.

I don't want that the customers change something in the billing side, and I want to let them to only select an option in the shipping side or add a new one, but don't delete or edit the addresses.

I know that I can edit here the select (address_select.php):
Code:

echo JHTML::_('select.genericlist', $values, 'hikashop_address_'.$this-&gt;type, 'class="hikashop_field_dropdown" onchange="window.localPage.switchAddr(this, \''.$this-&gt;type.'\');"', 'value', 'text', $current, 'hikashop_checkout_address_'.$this-&gt;type.'_selector'); ?&gt;

But if I blocked for example this for ($this-&gt;type == "billing") after that, if i try to change the address in select of the shipping side, don't let me and show me an message saying that i need to add a new address.

But I only want to remove the select options from billing side, and (edit and delete) options from both sides.

Can you show me some examples, or explain more especific please where I can change without damage something?

Last edit: 11 years 4 months ago by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzIzMi1jaGFuZ2UtYWRkcmVzcy1vcHRpb25zLW9uLWhpa2FzaG9wLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 4 months ago [\#203475](#203475) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203475 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")*

Hi,

How about simply adding some simple CSS to hide the select for the billing address:
\#hikashop_checkout_billing_address_selection select{ display: none; }

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

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 4 months ago [\#203535](#203535) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  Replied by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")* on topic *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203535 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")*

Hi,

I've thought about it, but isn't an option because if you after try to view a source code, you can turn off that CSS option and the visitor can view that again and make some changes that I don't wan't to let him do that.

I only wan't to let him to see the billing address, and choose the shipping address.
I wan't this options because all the addresses come from one webservice and display in the shipping address.
After that, the customer choose one address of this list and if the address isn't inserted before in Hikashop that address will be insert to get a ID for all work great.

Because we have a billing application where the customer can order directly from the store or order by phone, and we have clients with a lot of addresses.
So isn't necessary to add all of them on hikashop, but only the addresses that the customers use, because we need to insert them to stay in the history of orders and other stuffs.
So the customer choose an address, the function see if the address exists in hikashop or not, and if exists, get the ID and continuous normaly, if not, insert the address, get the ID and continuous normally to, and it's because this, that i wan't to hide this blocks because we don't want to let the customer to change the billing address or insert a lot of addresses that never use in orders from web.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzIzMi1jaGFuZ2UtYWRkcmVzcy1vcHRpb25zLW9uLWhpa2FzaG9wLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 4 months ago [\#203565](#203565) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[change address options on hikashop checkout](/forum/27-checkout/877232-change-address-options-on-hikashop-checkout#203565 "Hi,  I need your help.  In my checkout I have to diferent sides to change the address. One for billing and another for shipping.  But I need to do some changes and I don't found the place. I have maked some changes on diferent views of checkout address and I need some help to do some changes. At this moment I have this:  One of this box on billing side and another to shipping. The changes that i need are:  &#42; Remove the select from billind side. I want only the box with the unique billing address that the customer have.  &#42; Remove the edit box from both sides (billing and shipping). Like I have in this picture. I want to remove this option. The customer only can select or create. I don't want permission to him to edit or delete addresses.  This changes it's only in checkout process (select addresses).  Thanks for your help. Regards")*

Hi,

Then, the change in address_select is the way to go.
Try with such code: Code:

if($this-&gt;type=='billing'){ $a = reset($this-&gt;addresses); echo '&lt;input type="hidden" value="'.$current.'" name="hikashop_checkout_address_'. $this-&gt;type.'_selector" /&gt;'; }else{ echo JHTML::_('select.genericlist', $values, 'hikashop_address_'.$this-&gt;type, 'class="hikashop_field_dropdown" onchange="window.localPage.switchAddr(this, \''.$this-&gt;type.'\');"', 'value', 'text', $current, 'hikashop_checkout_address_'.$this-&gt;type.'_selector'); ?&gt; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NzIzMi1jaGFuZ2UtYWRkcmVzcy1vcHRpb25zLW9uLWhpa2FzaG9wLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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.201 seconds

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

[](#top)
