I'm running a heavily modified version of PrestaShop and I'm only one step away from having a *workable* 'Guest Checkout' type function. The only thing I need to get rid of at this point is the 'Select Address' page.
The user has just entered their address, I just want to use the default address and not worry about Selecting it again. Can someone let me know how to modify the site to skip this step and just use the default? Ie that's what happens if you just click next on that screen, so I'm assuming it shouldn't be a big deal.
With this gone, the Guest Checkout functionality becomes workable as there are now actually less steps, hence happier customers.
Any ideas on how to skip this useless step?
The user has just entered their address, I just want to use the default address and not worry about Selecting it again. Can someone let me know how to modify the site to skip this step and just use the default? Ie that's what happens if you just click next on that screen, so I'm assuming it shouldn't be a big deal.
With this gone, the Guest Checkout functionality becomes workable as there are now actually less steps, hence happier customers.
Any ideas on how to skip this useless step?
FOR HIRE - Aussie PHP/MySQL Developer - PM me for a quote
Stuff I've worked on
[MOD] Paypal Fees passed on to customer [thread]
[MOD] Added Group Functionality for CMS / Info block [thread]
[MOD] Display Shipping Fees/Carriers prior to Checkout / AJAX [thread]
Stuff I've worked on
[MOD] Paypal Fees passed on to customer [thread]
[MOD] Added Group Functionality for CMS / Info block [thread]
[MOD] Display Shipping Fees/Carriers prior to Checkout / AJAX [thread]
Have you tried changing the link on the first page to go to the third page instead of the second and the third page to go back to the first?
Change line 202 of shopping-cart.tpl in your theme's directory from:
to:
and change line 94 of order-carrier.tpl in your theme's directory from:
to:
Change line 202 of shopping-cart.tpl in your theme's directory from:
{l s='Next'} »
to:
{l s='Next'} »
and change line 94 of order-carrier.tpl in your theme's directory from:
« {l s='Previous'}
to:
« {l s='Previous'}
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
I tried this solution and it work's when the client goes to check out through the shopping cart page, and already is logged in before proceding to check out.
But, when the client goes directly to check out trough the block shopping cart it doesn't work, shows the adress the same.
Also, the clients that just registered, or just logged in, see the confirm adress page too.
If you have further solutions, please share. :cheese:
But, when the client goes directly to check out trough the block shopping cart it doesn't work, shows the adress the same.
Also, the clients that just registered, or just logged in, see the confirm adress page too.
If you have further solutions, please share. :cheese:
To skip a page while navigating from Shopping Cart block, you can try this:
Go to Prestashop/modules/blockcart/blockcart.tpl and change the Step no. in line 105 depending on which ever step you want to skip.
Thanks to "rocky" for providing information.
But I am facing the same issue as that of "equilibrium" when a new user adds items to cart and then registers on the store, he gets the address confirmation and other steps as it happens in normal screnario. i.e. none of the steps is skipped. Can someone help?
-lucky
Go to Prestashop/modules/blockcart/blockcart.tpl and change the Step no. in line 105 depending on which ever step you want to skip.
{l s='Check out' mod='blockcart'}
Thanks to "rocky" for providing information.
But I am facing the same issue as that of "equilibrium" when a new user adds items to cart and then registers on the store, he gets the address confirmation and other steps as it happens in normal screnario. i.e. none of the steps is skipped. Can someone help?
-lucky
I had a quick look and I think you need to change line 40 of order.php:
I think $step is the order step that Prestashop goes to after the customer account is created. I haven't tested it though.
Tools::redirect('authentication.php?back=order.php?step='.$step);I think $step is the order step that Prestashop goes to after the customer account is created. I haven't tested it though.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
Hi Rocky,
Thanks for your help.
I tried a few things in order.php but I am still not able to make it work.
Will it be possible for you to test it and let us know the results?
Thanks in advance.
-lucky
Thanks for your help.
I tried a few things in order.php but I am still not able to make it work.
Will it be possible for you to test it and let us know the results?
Thanks in advance.
-lucky
Sorry, I have tested the code and it doesn't work. I tried replacing the $step above with 2 and commenting out lines 125-126:
This makes it skip the Address page when logging in, but it also causes the default address values to not be saved, which means all Shipping methods are displayed instead only the ones that apply to the customer's address.
I can't get it to skip the Shipping step. I think it would take a lot of messing around with order.php to get this to work.
//if ($step >= 2 AND (!$cart->id_address_delivery OR !$cart->id_address_invoice))
// Tools::redirect('order.php?step=1');
This makes it skip the Address page when logging in, but it also causes the default address values to not be saved, which means all Shipping methods are displayed instead only the ones that apply to the customer's address.
I can't get it to skip the Shipping step. I think it would take a lot of messing around with order.php to get this to work.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
Good hack. I made it so the Address Edit and Carrier pages are combined in one step so during express checkout they have one last chance to edit their address. I felt like removing the address edit function totally would cause problems eventually if people messed their addresses up somehow when they initially entered their info.
--
Lolita Glasses - Live Site
1.2.5 - Express Checkout Test Site
1.2.5 - Express Checkout (Back Office)
Login: test@ionexpress.com Password: testexpress123
Lolita Glasses - Live Site
1.2.5 - Express Checkout Test Site
1.2.5 - Express Checkout (Back Office)
Login: test@ionexpress.com Password: testexpress123
Can you paste/link the code for this Ion? Silly question, but if it was so easy to combine those two pages, has anyone considered doing the same with all the pages? ;)
FOR HIRE - Aussie PHP/MySQL Developer - PM me for a quote
Stuff I've worked on
[MOD] Paypal Fees passed on to customer [thread]
[MOD] Added Group Functionality for CMS / Info block [thread]
[MOD] Display Shipping Fees/Carriers prior to Checkout / AJAX [thread]
Stuff I've worked on
[MOD] Paypal Fees passed on to customer [thread]
[MOD] Added Group Functionality for CMS / Info block [thread]
[MOD] Display Shipping Fees/Carriers prior to Checkout / AJAX [thread]
It really seems amazing that with all the "brains" that prestashop has no one is interested in creating a one page checkout that would simplify and boost our sales.
If there is any "super hacker" out there, pleeaaseee think about this. :) It will be tremendously appreciated!
If there is any "super hacker" out there, pleeaaseee think about this. :) It will be tremendously appreciated!



Back to top









