Steps "login_confirm" Next and Finish Buttons

  • Posts: 23
  • Thank you received: 0
  • Hikashop Essential
9 years 3 months ago #211526

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.6.9
-- Browser(s) name and version -- : Firefox latest
-- Error-message(debug-mod must be tuned on) -- : -

Hi.

My customer needs a very simple form and he wants me to give a step by step instructions in every step (they only want two steps).

So first step - all on one page. Cart / Terms / Payment method (Ivery South Africa) / Email_login as Guest (email is needed because serial ticket is send to the buyer at the end).

Second step: Thank you message (redirecting to another page)

Problem: When the customer fills in all the details, enters the email address and clicks on Next, the same page is loaded (jumps to top of the page after email confirmation) and there seems to be no progress for my customer. Only change is the button at the bottom (from "Next" for email confirm to "Finish" for finishing the purchase).

Is there a possibility to have the "Next" for Email Confirm redirecting to a new page or showing an "Almost Done" message instead of loading the page again and in a second, clearly distinguishable step) you have the Finish Button?

Regards,
Sebastian

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 3 months ago #211531

Hello Sebastian,

Is there a possibility to have the "Next" for Email Confirm redirecting to a new page or showing an "Almost Done" message instead of loading the page again and in a second, clearly distinguishable step) you have the Finish Button?

Firstly, are you able to finalize your order through your checkout workflow ? If yes, your is coming from the fact that you have set the "Auto submit shipping and payment methods selection" option to NO via "Hikashop->System->Configuration->Checkout".

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
  • Hikashop Essential
9 years 3 months ago #211699

Dear Mohammed,

I have a test surrounding with Ivery, and it works.
"Auto submit shipping and payment methods selection" option is set to "YES"

Please have a look and run a test purchase by yourself.
www.tsumeb-gimnasium.com/joomla2/win-a-hunt-in-namibia

Everything is correct, the problem is that after you fill in everything (as well as the email address) and you click on Next, the same page loads and the next button changes to finish. Clicking on finish does the job correctly but its just that the visitors might think that nothing has changed on the pages progress and leave the page.

Maybe the email confirm could redirect to another page, where I can write something like "almost done! Just click on finish!"



Sebastian

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 3 months ago #211703

Hi,

You could easily add such message at the top of the checkout by editing the file "step" of the view "checkout" via the menu Display>Views and add that code at the top:

<?php if(hikashop_loadUser()) echo 'almost done! Just click on finish!'; ?>

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
  • Hikashop Essential
9 years 3 months ago #211773

Hi Nicolas, Thank you so far.

I think I have to explain it again.

1st step

Customers fill in
1. quantity of raffle tickets,
2. click terms and conditions
3. give credit card details
(see Screenshot01) - You can see that I added with <?php echo "text";?> some descriptions of what to do (my customer expects his customers to be very simple)

2nd step

In a second step they enter their email addresses (Screenshot02). Here I changed top text of the "login" of the checkout process with <?php echo "text";?> at this position:

<?php
/**
* @package HikaShop for Joomla!
* @version 2.5.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>

<div class="shopheading2">
<?php
echo "4. Your email address";
?>
</div>

<div class="shopdescription">
<?php
echo "To being able to receive your raffle ticket(s), please add your email address. The ticket(s) will be sent to your email once payment is proceeded. Please keep the raffle ticket(s) for the draw of the winners. ";
?>
</div>

<?php
if(!$this->identified){
$this->nextButton = false;
$params = null; $js = null;
$classLogin = "hikashop_hidden_checkout";
$classRegistration = "";
$defaultSelection = '2';
$span='';

$display_login = $this->config->get('display_login',1);

$sr = explode(',', $this->simplified_registration);
$this->registration = array(0=>false,1=>false,2=>false,3=>false);
foreach($sr as $r) {
$this->registration[ (int)$r ] = true;
}
$registration_count = count($sr);

if($display_login){
$classLogin = '';
$classRegistration = 'hikashop_hidden_checkout';
$defaultSelection = 'login';
}

if($this->display_method == 0) {
?>


Then they click "Next"

3rd step

The third step now calls the same <?php echo "text";?> (Screenshot 03) only the button is now "Finish" to finish the whole buying process - That is was confuses my customer. Is there a way to change the text on top in this 3rd step, so that steps 2 and 3 are clearly distinguishable. Alternatively is it possible that step-2 and step-3 are the same, which would mean that you leave out the Next Button and after entering the email directly finish (user guest registration and finishing the same step)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 3 months ago #211817

Hi,

It sure is possible to change the text based on the step.
That's what I explained in my previous message with a simplified version of:

<?php if(hikashop_loadUser()){
 echo 'almost done! Just click on finish!';
}else{
echo "To being able to receive your raffle ticket(s), please add your email address. The ticket(s) will be sent to your email once payment is proceeded. Please keep the raffle ticket(s) for the draw of the winners. ";
} ?>

It's also possible to modify the steps of your checkout (right now you only have one step with everything on it, so a confirmation is necessary before finishing the order). You can do that thanks to the "checkout workflow" setting of your HikaShop configuration:
www.hikashop.com/support/documentation/2...eckout-workflow.html

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
  • Hikashop Essential
9 years 3 months ago #211892

Hi Nicolas,

That solved my problem! Thank you very much and have a good day!

Sebastian

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum