Add my account and order histroy pages
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 my account and order histroy pages
Hello
I am trying to use aimeo but I have couple iof questions:
1).How can I add my account and order history pages ?
2) and also where do I find the logout page?
3) plus how could have an option for creating an account / login before checkout proccess?
Thanks
I am trying to use aimeo but I have couple iof questions:
1).How can I add my account and order history pages ?
2) and also where do I find the logout page?
3) plus how could have an option for creating an account / login before checkout proccess?
Thanks
Re: Add my account and order histroy pages
There's already a MyAccount page that contains the order history. You only have to add the link to the navigation bar in resources/views/app.blade.phpbill wrote:1).How can I add my account and order history pages ?
That depends on your Laravel version. In 5.4 the "artisan make:auth" command creates the authentication related routes.bill wrote:2) and also where do I find the logout page?
Yes, you should create a new page for that using the standard Laravel infrastructure and reconfigure the route to the checkout page to your new page. There you can decide to if you want to show the the login / create account form or forward directly to the checkout page. The configuration for the named basket route (https://aimeos.org/docs/Configuration/C ... url/target) in ./config/shop.php is:bill wrote:3) plus how could have an option for creating an account / login before checkout proccess?
Code: Select all
'client' => [
'html' => [
'basket' => [
'standard' => [
'url' => [
'target' => '<new page route name>'
],
],
],
],
],
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
Re: Add my account and order histroy pages
Hello
Thank you for the replay
for # 3 , I don't want to change the basket page route, it seems when I do this when I try to go to /basket it redirect to the other page I have created?
what I want when i add a product to the cart , and I click on "check" I want it to first got to the /login page if users are not logined , if they are loged in then it will go to the checkout page
can we do that?
Thank you for the replay
for # 3 , I don't want to change the basket page route, it seems when I do this when I try to go to /basket it redirect to the other page I have created?
what I want when i add a product to the cart , and I click on "check" I want it to first got to the /login page if users are not logined , if they are loged in then it will go to the checkout page
can we do that?
Re: Add my account and order histroy pages
Then you need to reconfigure the checkout route but only in the basket controller:
https://aimeos.org/docs/Configuration/C ... url/target
https://aimeos.org/docs/Configuration/C ... 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