Add a register/login page before checkout process starts
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Add a register/login page before checkout process starts
Laravel: 5.6
Aimeos: 2018.04
PHP: 7.x
Linux
Hi, I was able to add custom registration/login page after the basket and before the checkout following your suggestion on: laravel-package-f18/insert-step-in-chec ... t1103.html and its working fine.
At the end of my registration I redirect my customer to the /checkout url and we get to the billing/shipping address cofnirmation on checkout process which is perfect. However, the action parameter on that forms has the initial route I inserted on my custom step instead of /checkout?step=delivery. And if I name my custom route /checkout I always redirected to my custom page instead of going to the regular checkout process.
Can you tell how I can have the regular checkout url on next checkout forms?
Thank you.
Regards,
Aimeos: 2018.04
PHP: 7.x
Linux
Hi, I was able to add custom registration/login page after the basket and before the checkout following your suggestion on: laravel-package-f18/insert-step-in-chec ... t1103.html and its working fine.
At the end of my registration I redirect my customer to the /checkout url and we get to the billing/shipping address cofnirmation on checkout process which is perfect. However, the action parameter on that forms has the initial route I inserted on my custom step instead of /checkout?step=delivery. And if I name my custom route /checkout I always redirected to my custom page instead of going to the regular checkout process.
Can you tell how I can have the regular checkout url on next checkout forms?
Thank you.
Regards,
- Attachments
-
- Screenshot from 2018-09-08 07-11-45.png (88.52 KiB) Viewed 1770 times
Re: Add a register/login page before checkout process starts
You have to overwrite the basket-standard.php template and use another URL target (https://github.com/aimeos/ai-client-htm ... rd.php#L16):
In your login page, redirect to the value of
Code: Select all
$checkoutTarget = $this->config( 'client/html/checkout/standard/url/targetLogin', 'shop_login' );
Code: Select all
$this->config( 'client/html/checkout/standard/url/target' );
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star