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

#   Edit Billing or Shipping Address using the same button title for both buttons

##

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

Less More

- Posts: 59
- Thank you received: 2
-
-

8 years 1 month ago [\#298923](#298923) by [avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")  *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#298923 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")* was created by *[avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")*

-- url of the page with the problem -- : [ balancedequine.com.au](https://balancedequine.com.au)
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.1.22
-- Browser(s) name and version -- : Chrome 69.0.3497.100

We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read "Edit Shipping Address" instead of 1 button that reads "Edit Shipping Address" and the other one should read "Edit Billing Address". What can I do to fix this issue?

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

8 years 1 month ago [\#298927](#298927) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#298927 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")*

Hi,

Search for the text : &lt;button onclick="return window.checkout.newAddress
in the show_block_address view file. You'll find two occurences. One for the new button of billing addresses and one for the new button of shipping addresses. So you must enter a different translation key for each in order to be able to have a different text for each of those two buttons.

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

8 years 1 month ago [\#298977](#298977) by [avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")  Replied by *[avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")* on topic *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#298977 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")*

Looking in the suggested view, I can only find one instance of the button which mentions Shipping, see image  [ ![Views.png](/forum/attachment/45054) ](/forum/attachment/45054 "Views.png")

Do I need to add a second instance of this or should there already be a second instance in there already, as the reply inferred?

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

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

8 years 1 month ago [\#298979](#298979) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#298979 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")*

Hi,

There should already be a second instance.
If I search for that text in the code of the default show_block_address view file, I can find both: Code:

&lt;button onclick="return window.checkout.newAddress(&lt;?php echo $this-&gt;step; ?&gt;,&lt;?php echo $this-&gt;module_position; ?&gt;, 'billing');" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikashop_checkout_address_new_button"&gt;&lt;?php echo JText::_('HIKA_NEW'); ?&gt;&lt;/button&gt;

and: Code:

&lt;button onclick="return window.checkout.newAddress(&lt;?php echo $this-&gt;step; ?&gt;,&lt;?php echo $this-&gt;module_position; ?&gt;, 'shipping');" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikashop_checkout_address_new_button"&gt;&lt;?php echo JText::_('HIKA_NEW'); ?&gt;&lt;/button&gt;

One for billing and one for shipping.

I don't see why you would get only one of them in that file if you get the two buttons unless you did some wild modifications in that view file.

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

8 years 1 month ago [\#298996](#298996) by [avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")  Replied by *[avonrivercs](/forum/user/38726-avonrivercs "View avonrivercs's Profile")* on topic *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#298996 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")*

Ok, found the 2 instances for the button at lines 192 and 278 although search finds 1 instance only.
Line 192 shows the following:-
&lt;button onclick="return window.checkout.newAddress(&lt;?php echo $this-&gt;step; ?&gt;,&lt;?php echo $this-&gt;module_position; ?&gt;, 'billing');" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikashop_checkout_address_new_button"&gt;&lt;?php echo JText::_('HIKA_NEW'); ?&gt;&lt;/button&gt;
Line 278 shows the following :-
&lt;button onclick="return window.checkout.newAddress(&lt;?php echo $this-&gt;step; ?&gt;,&lt;?php echo $this-&gt;module_position; ?&gt;, 'shipping');" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikashop_checkout_address_new_button"&gt;&lt;?php echo JText::_('HIKA_NEW'); ?&gt;&lt;/button&gt;
As you can see one says shipping and the other says billing. Why then does both buttons display Shipping Address, see image.
[ ![Test2.png](/forum/attachment/45059) ](/forum/attachment/45059 "Test2.png")

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

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

8 years 1 month ago [\#299005](#299005) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Edit Billing or Shipping Address using the same button title for both buttons](/forum/27-checkout/895923-edit-billing-or-shipping-address-using-the-same-button-title-for-both-buttons#299005 "-- url of the page with the problem -- :   balancedequine.com.au  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.22 -- Browser(s) name and version -- : Chrome 69.0.3497.100  We have an issue when trying to edit shipping &amp; billing addresses in the checkout where the edit buttons are the same for both billing and shipping. This is confusing to our customers as they are reporting this to us. On advice earlier from this forum, we wanted to reverse the billing and shipping and have managed to get the form titles to display correctly, but when a customer tries to edit the shipping or billing address, they are presented with 2 buttons that read &quot;Edit Shipping Address&quot; instead of 1 button that reads &quot;Edit Shipping Address&quot; and the other one should read &quot;Edit Billing Address&quot;. What can I do to fix this issue?")*

That's because as you can see they use the same translation key "HIKA_NEW".
Change &lt;?php echo JText::_('HIKA_NEW'); ?&gt; in each with the text you want for each button and that's it.

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