Many times our store has certain characteristics that do not require all the steps of the checkout. An example could be that we only have to have a store as a shipping method, and in that case we could eliminate that step of the checkout to save the user time when buying.

Another example could be that we only have "store payment" as the payment method. In that case, we can skip this step too.

To do this we must modify the file controllers / front / OrderController.php

The addStep lines are the ones that add checkout steps, commenting on them as shown in the image we can make those steps not required

For example, CheckoutPersonalInformationStep is to display the user info, CheckoutAddressesStep for the address, checkoutDeliveryStep for shipping, and CheckoutPaymentStep for the payment method. Just commenting on the step we want to remove is enough to make it disappear:


            / * -> addStep (new CheckoutPersonalInformationStep (
                $ this-> context,
                $ translator,
                $ this-> makeLoginForm (),
                $ this-> makeCustomerForm ()
            )) * /

Ideally, create an Override of the OrderController to avoid losing your changes. You can see more info here: http://doc.prestashop.com/display/PS16/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingacontroller

Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".