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

#   Eliminate 'change guest information' step

##

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

Less More

- Posts: 18
- Thank you received: 0
-
-

5 years 6 months ago -  5 years 6 months ago [\#332496](#332496) by [kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")  *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332496 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")* was created by *[kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3
-- Browser(s) name and version -- : Chrome 90.0.4430.93

Hello,

I am building a 2 step checkout. First step is login and 2nd step all the other things.
In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a "hidden" step where there is this button "change guest information". The client wants to remove this step.
Will this be a heavy customization? I mean, will removing this step break something else?

Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?

Thank you in advance.

Last edit: 5 years 6 months ago by [kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMjU2MS1lbGltaW5hdGUtY2hhbmdlLWd1ZXN0LWluZm9ybWF0aW9uLXN0ZXA/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: 86583
- Thank you received: 14324
-
-

5 years 6 months ago [\#332500](#332500) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332500 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Hi,

1. What you can try is to edit the file show_block_login via the Display&gt;Views menu and replace the code: Code:

&lt;span id="hikashop_checkout_guest_email_title"&gt; &lt;?php echo JText::_('HIKA_EMAIL'); ?&gt;&lt;span class="hikashop_checkout_guest_email_separator"&gt;:&lt;/span&gt; &lt;/span&gt; &lt;span id="hikashop_checkout_guest_email_value"&gt;&lt;?php echo $this-&gt;options['current_login']-&gt;user_email; ?&gt;&lt;/span&gt; &lt;a href="" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikabtn_checkout_guest_logout" onclick="window.checkout.submitBlock('login', &lt;?php echo $this-&gt;step; ?&gt;, &lt;?php echo $this-&gt;module_position; ?&gt;, 'hikashop_checkout_guest_logout=1'); this.disabled=true; window.Oby.addClass(this, 'next_button_disabled'); return false;"&gt;&lt;?php echo JText::_('CHANGE_GUEST_INFORMATION'); ?&gt; &lt;/a&gt;

by: Code:

&lt;script&gt;window.checkout.submitStep(this);&lt;/script&gt;

That will force the system to go to the next step when the user access the first step while having already filled in the guest form.

2. In that same view file, you have the code: Code:

if($this-&gt;options['show_login']) { $v = JHTML::_('select.option', 'login', JText::_('HIKA_LOGIN').'&lt;br/&gt;'); $v-&gt;class = 'hikabtn-checkout-login'; $values[] = $v; } if($this-&gt;options['registration_registration']) { $v = JHTML::_('select.option', 0, JText::_('HIKA_REGISTRATION').'&lt;br/&gt;'); $v-&gt;class = 'hikabtn-checkout-registration'; $values[] = $v; } if($this-&gt;options['registration_simplified']) { $v = JHTML::_('select.option', 1, JText::_('HIKA_REGISTRATION').'&lt;br/&gt;'); $v-&gt;class = 'hikabtn-checkout-simplified'; $values[] = $v; } if($this-&gt;options['registration_password']) { $v = JHTML::_('select.option', 3, JText::_('HIKA_REGISTRATION').'&lt;br/&gt;'); $v-&gt;class = 'hikabtn-checkout-simplified-pwd'; $values[] = $v; } if($this-&gt;options['registration_guest']) { $v = JHTML::_('select.option', 2, JText::_('GUEST').'&lt;br/&gt;'); $v-&gt;class = 'hikabtn-checkout-guest'; $values[] = $v; }

Just change the order of the different pieces of code to have them in a different order.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

5 years 6 months ago -  5 years 6 months ago [\#332534](#332534) by [attenzo](/forum/user/36646-attenzo "View attenzo's Profile")  Replied by *[attenzo](/forum/user/36646-attenzo "View attenzo's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332534 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

following

Last edit: 5 years 6 months ago by [attenzo](/forum/user/36646-attenzo "View attenzo's Profile").

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

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

Less More

- Posts: 18
- Thank you received: 0
-
-

5 years 6 months ago [\#332535](#332535) by [kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")  Replied by *[kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332535 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Nicolas, Thank you for your prompt response!

About 2, ok done great.

About 1. I applied the code and now when I fill in the guest e-mail it takes me to a screen where there is only a next button and nothing else and I am still in the first step of the checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMjU2MS1lbGltaW5hdGUtY2hhbmdlLWd1ZXN0LWluZm9ybWF0aW9uLXN0ZXA/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: 86583
- Thank you received: 14324
-
-

5 years 6 months ago [\#332543](#332543) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332543 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Hi,

Could you provide a link to the shop so that we could check on the situation and reproduce what you're describing ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMjU2MS1lbGltaW5hdGUtY2hhbmdlLWd1ZXN0LWluZm9ybWF0aW9uLXN0ZXA/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: 86583
- Thank you received: 14324
-
-

5 years 6 months ago [\#332562](#332562) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332562 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Hi,

Thanks for the link.
My bad. I forgot to replace the parameter in the code I gave.
The code should be: Code:

&lt;script&gt;window.checkout.submitStep(document.getElementById('hikabtn_checkout_next'));&lt;/script&gt;

So please replace it and it should then work fine.

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

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

Less More

- Posts: 18
- Thank you received: 0
-
-

5 years 6 months ago [\#332586](#332586) by [kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")  Replied by *[kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332586 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

This code brings back the e-mail and the button "change guest information"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMjU2MS1lbGltaW5hdGUtY2hhbmdlLWd1ZXN0LWluZm9ybWF0aW9uLXN0ZXA/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: 86583
- Thank you received: 14324
-
-

5 years 6 months ago [\#332593](#332593) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332593 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Hi,

I don't see how that would be possible since the email input and the button HTML have to be replaced by that code.
The code to display the email input and the button should not be in the view after change so it's not possible that it would display.
Please review your changes.

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

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

Less More

- Posts: 18
- Thank you received: 0
-
-

5 years 6 months ago [\#332609](#332609) by [kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")  Replied by *[kathrin20](/forum/user/61360-kathrin20 "View kathrin20's Profile")* on topic *[Eliminate 'change guest information' step](/forum/27-checkout/902561-eliminate-change-guest-information-step#332609 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome 90.0.4430.93  Hello,  I am building a 2 step checkout. First step is login and 2nd step all the other things. In the login step I have included all 3 options (login, register, guest). In the guest option, when someone enters the guest email and hits next button, then there is a &quot;hidden&quot; step where there is this button &quot;change guest information&quot;. The client wants to remove this step. Will this be a heavy customization? I mean, will removing this step break something else?  Also they want to put guest as the first option in the left block with the 3 options (even though the guest is default). Is this easy?  Thank you in advance.")*

Yes! I thought it was very odd. I don't know how it happened since the other code was out.
I then decided to make it one step checkout instead of two steps in order not to customize anything.
Thanks again.

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

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