One page checkout form action missing

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!
kdim95
Advanced
Posts: 191
Joined: 26 Aug 2022, 12:17

One page checkout form action missing

Post by kdim95 » 06 Feb 2023, 19:58

Laravel framework version: 9.50.2
Aimeos Laravel version: ~2022.10
PHP Version: 8.2.1
Environment: Linux

I want to have my one page checkout arranged like this, but the form action goes missing if I try to change the order via the subparts. I tried to forcefully set the standardUrlNext in the template, but it didn't work out. What happens right now is that it's always stuck on the same checkout window, everything is filled out, but I can't proceed forward with the checkout. How can I make this work?

Code: Select all

'client' => [
	'html' => [
		'checkout' => [
			'standard' => [
				'onepage' => [ 'address', 'delivery', 'payment', 'summary' ],
				'subparts' => [
					'summary',
					'delivery',
					'address',
					'payment',
				]
			],
		],
	],
],

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

Re: One page checkout form action missing

Post by aimeos » 09 Feb 2023, 07:52

The problem is that you overwrite the subparts. Remove that configuration and it should work because you've removed also the "process" subpart with your settings.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kdim95
Advanced
Posts: 191
Joined: 26 Aug 2022, 12:17

Re: One page checkout form action missing

Post by kdim95 » 26 Feb 2023, 21:21

I wanted to rearrange the subparts, I just had to add the 'process' subpart, that seems to have been the issue.

Code: Select all

'client' => [
	'html' => [
		'checkout' => [
			'standard' => [
				'onepage' => [ 'address', 'delivery', 'payment', 'summary' ],
				'subparts' => [
					'summary',
					'delivery',
					'address',
					'payment',
					'process'
				]
			],
		],
	],
],

Post Reply