Removing Address Section from Checkout
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!
- MattWoodward
- Posts: 20
- Joined: 03 Mar 2022, 04:15
Removing Address Section from Checkout
Hi there,
Today I have identified how to remove the Address section (but keep all others incl. Delivery where custom providers will be used) from the Checkout process (and submitted a PR for the docs, as the subparts listed for the configuration was incorrect - https://github.com/aimeos/aimeos-docs/pull/41).
However when I remove the Address subpart I get the error:
"Class "\Aimeos\Client\Html\Checkout\Standard\Order\Standard" not available"
I suspect this is logical, yet I need to exclude the address section. Is this in relation to also needing to remove the address from the Summary section too?
Today I have identified how to remove the Address section (but keep all others incl. Delivery where custom providers will be used) from the Checkout process (and submitted a PR for the docs, as the subparts listed for the configuration was incorrect - https://github.com/aimeos/aimeos-docs/pull/41).
However when I remove the Address subpart I get the error:
"Class "\Aimeos\Client\Html\Checkout\Standard\Order\Standard" not available"
I suspect this is logical, yet I need to exclude the address section. Is this in relation to also needing to remove the address from the Summary section too?
Re: Removing Address Section from Checkout
What's your used configuration?
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
- MattWoodward
- Posts: 20
- Joined: 03 Mar 2022, 04:15
Re: Removing Address Section from Checkout
Thanks for responding. The following config is in place for this:
Code: Select all
'client' => [
'html' => [
'checkout' => [
'subparts' => ['delivery', 'payment', 'summary', 'order', 'process'],
Re: Removing Address Section from Checkout
"order" is not a valid subpart (it had been used in earlier versions) and the standard configuration is:
https://github.com/aimeos/ai-client-htm ... d.php#L114
https://github.com/aimeos/ai-client-htm ... d.php#L114
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
- MattWoodward
- Posts: 20
- Joined: 03 Mar 2022, 04:15
Re: Removing Address Section from Checkout
Ahh perfect, I've removed that from the config and all is working fine now.
I've also submitted a PR for a change to the docs on this - https://github.com/aimeos/aimeos-docs/pull/42
I've also submitted a PR for a change to the docs on this - https://github.com/aimeos/aimeos-docs/pull/42