Reorder the steps of placing an order at the Magento store

I would like to know if it is possible to change the order of the verification steps. By default, the following actions are performed: - Billing address - Delivery address - Delivery methods - Payment method - Checking the order.

I would put the billing address in third place, so it would be: - Delivery address - Delivery methods - Billing address ...

Is it possible?

thanks

+6
source share
3 answers

You can go to:

Application / Code / Kernel /Mage/List//block/onepage.php

change the line

$stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review'); 
+3
source

You do not directly modify the main file:

Application / Code / Kernel /Mage/List//block/onepage.php

copy this file.

 app/code/local/mage/checkout/block/onepage.php 

and change this line:

 $stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review'); 
+2
source

It is not a good practice to deal with core files. You can do this by overriding modules.

Link:

http://www.magentocommerce.com/wiki/5_-_modules_and_development/checkout/customizing_onepage_checkout_-_remove_shipping_method

0
source

Source: https://habr.com/ru/post/915756/


All Articles