Merge basket and checkout
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Merge basket and checkout
Hello,
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
I changed in my 'config/shop.php' file checkout to 'onepage'
- 'html/checkout/standard/onepage' => ['address', 'delivery', 'payment', 'summary']
But I have one problem. After of that I have 2 steps, first is 'basket' step, second is 'checkout' which includes 'address', 'delivery', 'payment', 'summary' steps.
I want to merge 'basket' and 'checkout' into one page. Like this - on the top of page is basket below address, delivery, payment and summary.
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
I changed in my 'config/shop.php' file checkout to 'onepage'
- 'html/checkout/standard/onepage' => ['address', 'delivery', 'payment', 'summary']
But I have one problem. After of that I have 2 steps, first is 'basket' step, second is 'checkout' which includes 'address', 'delivery', 'payment', 'summary' steps.
I want to merge 'basket' and 'checkout' into one page. Like this - on the top of page is basket below address, delivery, payment and summary.
Re: Merge basket and checkout
You need to add "basket/standard" to the checkout page here:
https://github.com/aimeos/aimeos-larave ... op.php#L44
Then, you need to overwrite the the checkout/standard Blade template and add the "basket/standard" header and body:
https://github.com/aimeos/aimeos-larave ... .blade.php
See: https://aimeos.org/docs/latest/laravel/ ... -templates
Finally, you have to change the basket target to the checkout target ("aimeos_shop_checkout"):
https://github.com/aimeos/aimeos-larave ... t.php#L204
https://github.com/aimeos/aimeos-larave ... op.php#L44
Then, you need to overwrite the the checkout/standard Blade template and add the "basket/standard" header and body:
https://github.com/aimeos/aimeos-larave ... .blade.php
See: https://aimeos.org/docs/latest/laravel/ ... -templates
Finally, you have to change the basket target to the checkout target ("aimeos_shop_checkout"):
https://github.com/aimeos/aimeos-larave ... t.php#L204
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