Removing Address Section from Checkout

Help for integrating the Laravel package
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!
User avatar
MattWoodward
Posts: 20
Joined: 03 Mar 2022, 04:15

Removing Address Section from Checkout

Post by MattWoodward » 18 Mar 2022, 05:51

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?

User avatar
aimeos
Administrator
Posts: 7915
Joined: 01 Jan 1970, 00:00

Re: Removing Address Section from Checkout

Post by aimeos » 18 Mar 2022, 08:05

What's your used configuration?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
MattWoodward
Posts: 20
Joined: 03 Mar 2022, 04:15

Re: Removing Address Section from Checkout

Post by MattWoodward » 22 Mar 2022, 04:08

Thanks for responding. The following config is in place for this:

Code: Select all

	'client' => [
		'html' => [
			'checkout' => [
				'subparts' => ['delivery', 'payment', 'summary', 'order', 'process'],

User avatar
aimeos
Administrator
Posts: 7915
Joined: 01 Jan 1970, 00:00

Re: Removing Address Section from Checkout

Post by aimeos » 22 Mar 2022, 06:46

"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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
MattWoodward
Posts: 20
Joined: 03 Mar 2022, 04:15

Re: Removing Address Section from Checkout

Post by MattWoodward » 23 Mar 2022, 00:43

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

Post Reply