I'm trying to modify/simplify the checkout page to skip some of the steps in the tab panels into a single form checkout.
As I understand, In the default template the parts of the checkout process are called with JavaScript from the main 'chechout/chechout.twig' file.
The questions is, How do I simply call one part of the checkout, for examples 'chechout/guest.twig' in 'chechout/chechout.twig' ?
I tried simply putting:
Code: Select all
{{ guest }}
Thanks in advance!
update:
So far I was able to remove some fields from the guest form. And what I'm trying to achieve now, is to display login.twig and guest twig simultaneously at the step 1.
Is it possible to call login.twig and guest twig by modifying controller without using JavaScript ?
Here is a mock up: