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

#   only one shipping and billing address

##

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311343](#311343) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#311343 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")* was created by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.2.14

Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread [ link](https://www.hikashop.com/forum/customers/895193-new-billing-shipping-address-displaying-twice.html) I found to remove new address button in checkout page using css:
Code:

.hikabtn.hikabtn-success.hikashop_checkout_address_new_button { display:none; }

However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.

Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTgzNTItb25seS1vbmUtc2hpcHBpbmctYW5kLWJpbGxpbmctYWRkcmVzcz90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

7 years 1 month ago [\#311344](#311344) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#311344 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi,

Note that for the checkout, you can just turn off the "Allow multiple addresses" setting of the Address view in the "checkout workflow" of the HikaShop configuration.

For the new address button on the address edition, you can use such CSS:
a[href="#newAddress"] { display:none; }
[ www.w3.org/TR/selectors-3/#attribute-selectors](https://www.w3.org/TR/selectors-3/#attribute-selectors)

The following user(s) said Thank You: [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#311362](#311362) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#311362 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi Nicolas, great !
thank you for your help !

Regards,
Greg

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#312144](#312144) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#312144 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi Nicolas, I would like to back to this one address thread. I found a problem with the solution of disable possibility of adding new addresses in address edition by hiding display of the button “New address” - after this it is not possible to add first address (when no address was added before or when client delete existing one).

Is it possible to fully disable possibility to use multiply addresses ? Turning off the "Allow multiple addresses" setting of the Address view in the "checkout workflow" works fine but I need also to turn off such a possibility in Address Edition.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTgzNTItb25seS1vbmUtc2hpcHBpbmctYW5kLWJpbGxpbmctYWRkcmVzcz90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

7 years 1 month ago [\#312167](#312167) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#312167 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi,

Well, in that case, if that's a problem for you, you need to do a view override of address / listing.php via the menu Display&gt;Views and modify a bit the code to only display the new address button if there are no addresses to list.
But what you describe doesn't seem like a big problem. Sure a user can't enter his address in the address manager with what I proposed before, but why would he do that ? The only goal of entering an address is to checkout, and he can enter his address on the checkout. So he'll have it in the address manager after going through the checkout once. And before goign through the checkout, the address of the user account serves no purpose. As a customer myself, I don't see a scenario where I would want to fill in something which I don't need to fill.

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#312198](#312198) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#312198 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi Nicolas, In address edition user can choose one of two icons: "pen" to edit address data and "trash" to delete address - there is a risk of usage of trash icon even accidentally. I would like to eliminate multiply addresses option because it makes forms/process more complex for users. Could you give me some advise how to disable trash icon from address/show.php ? or could you give me an example of code to be changed in address/listing.php to only display the new address button if there are no addresses to list ?

ps. During last tests I have found a risk in following situation related with addresses: when the Joomla user is deleted (the user has previously carried out transactions) and new user is registered in Joomla with same e-mail address as deleted one - then this new user has access to addresses data of deleted user - even if this is an unlikely situation but there is a risk of unauthorized access to the data.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTgzNTItb25seS1vbmUtc2hpcHBpbmctYW5kLWJpbGxpbmctYWRkcmVzcz90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

7 years 1 month ago -  7 years 1 month ago [\#312199](#312199) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#312199 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi,

Yes, with the trash icon it could be problematic, but if you hide the new button with CSS, then you can also hide the trash icon with CSS.
You should be able to do that with such CSS: Code:

.hikashop_address_listing .hika_edit a:nth-child(2){ display:none; }

There actually is a mechanism to delete the user addresses when the user account is being deleted.
However, looking into it, I can see that if the user had previous orders, then the user entry deletion in HikaShop is refused and in that case the address of the customer is still there.
In such case, the user entry is considered as a "guest" entry.
Now if there is a reregistration with the same email address, if it's done through HikaShop's registration, there is a check for that to remove the old addresses of the user entry before assigning the entry to the new Joomla user account.
But again, looking into it, if the registration is done through Joomla's registration, this won't be done.
So I guess there are some things to improve on what is already there to avoid that to happen.
We'll look into changing that. Thank you for your feedback.

Last edit: 7 years 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")

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

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

7 years 1 month ago [\#312314](#312314) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[only one shipping and billing address](/forum/33-customers/898352-only-one-shipping-and-billing-address#312314 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.2.14  Hello, I would like to use only one shipping and billing addresses for the clients. So I need to disable option to add new addresses. Thanks to forum thread I found to remove new address button in checkout page using css:  However I can’t find the way how can I also remove add new address button on user addresses edition page (address/listing.php) and to not override the php view but only using css. I found that on user addresses edition page there is only a class hikabtn.hikabtn-success linked to the buttons, which I cannot disable because it will also impact on other hikashop buttons like next button on checkout page.  Is it possible to remove add new address buttons on user address edition page (address/listing.php) without overriding the php view file ?  Regards, Greg")*

Hi Nicolas, ok, thank you for the information

I had to do a minor code change: Code:

.hikashop_address_listing_div .hika_edit a:nth-child(2){ display:none; }

Regards,
Greg

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

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