Hello
Does someone can show me how to setting when a buyer click check out and go to the check out page step 2: Billing and shipping address? because my website going directly to the step 3: Billing options. We need all buyers verify again for the billing address and shipping address if have some errors.
My website is http://enewwholesale.com/ multi vendor 4.2.3
Thank in advance!
Franck
Try to open the app\controllers\frontend\checkout.php and comment out the following part of code:
// if address step is completed, check if shipping step is completed
if (!empty($completed_steps['step_two'])) {
$completed_steps['step_three'] = true;
}
[quote name='eComLabs' timestamp='1430124466' post='212686']
Try to open the app\controllers\frontend\checkout.php and comment out the following part of code:
// if address step is completed, check if shipping step is completed
if (!empty($completed_steps['step_two'])) {
$completed_steps['step_three'] = true;
}
[/quote]Dear Ecomlabs
I have add this code in the bottom of this file and clear the cache, but still go directly on the step 3 at the checkout page, may be something wrong again?
Thank
He said to comment out, not to add the code. To comment out in smarty, Use {* to open the comment and } to close it. I.e. put { above the first line mentioned above and *} below the last.
[quote name='tbirnseth' timestamp='1430179694' post='212786']
He said to comment out, not to add the code. To comment out in smarty, Use {* to open the comment and } to close it. I.e. put { above the first line mentioned above and *} below the last.
[/quote]
Thank you for the comment. But this is PHP code, not Smarty. So the final code will be:
/*
// if address step is completed, check if shipping step is completed
if (!empty($completed_steps['step_two'])) {
$completed_steps['step_three'] = true;
}
*/
[quote name='eComLabs' timestamp='1430211259' post='212807']
Thank you for the comment. But this is PHP code, not Smarty. So the final code will be:
/*
// if address step is completed, check if shipping step is completed
if (!empty($completed_steps['step_two'])) {
$completed_steps['step_three'] = true;
}
*/
[/quote]Dear Ecomlabs
I have make change and clear the cache, but still not work, if the buyer click the 1 step at the checkout page, then everytime will be stay on the 1st step, if click 2nd step, every time will be on the 2 step, if click 3rd step, every time will be stay automatic on the 3rd page, can you check again if something wrong please?
We need all buyer stay at the 2nd page at checkout page if possible.
Thank very much!
Franck
Sorry, too quick on the trigger…
Dear Frank,
I am afraid, there is not quick solution in this case. Additional code customization is required