Customize checkout urls
Posted: 23 Oct 2021, 08:22
Hi.
I have changed checkout steps in the config like below:
I've created the necessary classes and everything works fine.
However, the URLs for each step are like this:
But I want them to be:
shop/default/shipping
shop/default/checkout
or if that's not possible this one:
shop/default/something/shipping
shop/default/something/checkout
How can I do this?
I have changed checkout steps in the config like below:
Code: Select all
'html' => [
'checkout' => [
'subparts' => ['shipping', 'checkout', 'process']
]
]
However, the URLs for each step are like this:
Code: Select all
/shop/default/checkout for shipping step
/shop/default/checkout/checkout for checkout step
shop/default/shipping
shop/default/checkout
or if that's not possible this one:
shop/default/something/shipping
shop/default/something/checkout
How can I do this?