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

#   Altering Checkout Layout and Functionality

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

14 years 2 months ago [\#64943](#64943) by [pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")  Replied by *[pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#64943 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

Nicolas,

So, our client would like the address management section of the checkout process adjusted, and I'm not sure what our options are here. I'll try to outline this as best I can, and would greatly appreciate your feedback on whether each is possible, what would be involved in doing them, and whether or not each option would require additional development to achieve.

1) The checkout process shows one address for billing (the one that was entered at registration), along with an Edit button. If the billing address is edited, the existing address would be replaced by the new one, and the old address would not show up in the list. On the shipping side, if the "use same address for shipping" box is unchecked, the existing address would appear on the shipping side, along with an Edit button. If the address is edited, the new address will replace the old shipping address. Neither side would ever show more than one option. There would be no Delete button on either side.

2) When the user gets to the checkout screen, they are presented with two columns. The billing column has the address form with the fields pre-filled with the information entered at registration. Under that is a "use same for shipping" box. In the shipping column, the same fields are presented, also pre-filled, but grayed out until the checkbox is unchecked. Either side can be edited independently and then submitted to continue with payment.

Basically, the client thinks the address management is confusing. They don't like that every address entered is available in both the billing and shipping sides, and that if an address is deleted on the shipping side it is also deleted on the billing side (or if one is added on the shipping side, it also appears on the billing side). They would like the billing and shipping addresses to be separate and not connected.

Would it be possible to accomplish either of these? If they would require development time, could you provide me with an estimate? Could I accomplish anything similar on my own with edits to the view?

Also, on another note: Is it possible to condense empty optional fields in the address display so that they are not displayed as blanks on the front end? It makes the address selection screen confusing when there are gaps in each listing.

Thank you again!

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

14 years 2 months ago [\#65091](#65091) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65091 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

Hi,

All these modifications are possible by editing the file "address_view" of the "checkout" view via the menu Display-&gt;Views.
For example, if you want to always have only one address on each side of the address area, you can add the line:
if(empty($checked)) continue;
before the line:
if($this-&gt;config-&gt;get('auto_submit_methods',1)&amp;&amp;empty($checked)){
In that case, you will also want to hide the radio button with some CSS.

You can't condense the empty fields in the address template as you can't have conditional php in it.

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

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

14 years 2 months ago [\#65094](#65094) by [pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")  Replied by *[pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65094 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

Thank you, Nicolas.

Would it be possible to have one address per side, but have them be different? The way the cart is currently configured, if only a single address is present, it seems it will always be the same one (and if it is edited, both sides will change).

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

14 years 2 months ago [\#65097](#65097) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65097 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

That's already how it should be with that modification.

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

14 years 2 months ago [\#65103](#65103) by [pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")  Replied by *[pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65103 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

I applied that change, and it seems to be working correctly - both sides operate independently and can be edited without affecting the other. Thanks!

Is there a specific class for the address selection radio button so that I can hide only it and not other radio buttons on the site?

Also, our client was wondering if it would be possible to have the shipping address and edit/new button visible even when the checkbox is checked. I understand why it works the way it currently does (and feel that it makes sense), but I want to have an answer for that question in case they really want it to be that way.

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

14 years 2 months ago [\#65265](#65265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65265 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

Yes, it's:

.hikashop_checkout_billing_address_radio,.hikashop_checkout_shipping_address_radio{ display:none;}

And for the shipping area always visible, you can do like that:
\#hikashop_checkout_shipping_div{display:auto !important;}
However, if the user uncheck and check again the checkbox, the area will be hidden as the javascript takes the precedence over the CSS in the DOM of the browser.

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

14 years 2 months ago [\#65274](#65274) by [pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")  Replied by *[pulsemarketing](/forum/user/7738-pulsemarketing "View pulsemarketing's Profile")* on topic *[Re: Altering Checkout Layout and Functionality](/forum/4-how-to/61321-altering-checkout-layout-and-functionality?start=20#65274 "We are using HikaShop Starter. The site can be seen at   www.skillbuildersbooks.com/  There are several things we would like to be able to alter about the checkout process, but are not sure how to do:  1. Can the &quot;Continue Shopping&quot; and &quot;Next&quot; buttons be moved to the top of the cart, above the product listing, rather than at the very bottom beneath the registration and shipping/payment info?  2. Can the text of the &quot;Next&quot; button be altered? I tried adjusting the entry in the language file, but the change did not affect the button.  3. Is there a way to disable the sending of the order creation email? Since we are using PayPal Basic, the email gets created the minute the user leaves the cart to pay, which can be problematic if they do not actually finish the order. I found a previous forum question that indicated a database field to edit, and a PHP file to alter, but neither of those items matched up with what I saw when I poked around (it was an old question, so the cart may be configured differently now). Ideally, the payment confirmation email would be sent, and the shipping email (if applicable).  4. I was able to get the address to transmit to PayPal, minus the Address Line 2 field. That field was broken and had to be turned off in order to allow registration and addresses to work at all (I learned this from another recent reply by Nicholas), and the one I created to replace it does not seem to be communicating with PayPal. Is there a way to fix that?  5. Is there any way to have HikaShop pull the name for the address from the Joomla registration name field? Forcing people to enter their name twice on the registration page is a bit odd.  6. Can the address management section of the cart front-end be simplified so that the user is only able to enter one address for billing and potentially one other for shipping, without showing all of the available addresses for selection under each option? This store will not have much repeat traffic or purchases, so keeping it simple is a priority.  Thank you again for the help!")*

Got it - thank you! I think it makes more sense to leave the checkbox behavior as-is based on what you said.

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

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