Now we are using the tpl files for the checkout section. This is for customers to change the style and place the elements at their free will. If you want to add some custom/local changes to any of the following tpls, first you have to place that tpl in your site’s themes//checkout folder. For example, if we are using the grey theme and we need to add some changes in checkout_shipping.php page, checkout_shipping.tpl file should be placed in themes/grey/checkout/checkout_shipping.tpl. If you want to add some new custom changes, you need to add a new custom php file for that page in themes/functions/ folder with name custom_tpl_{literal}{{/literal}$page{literal}}{/literal}. For eg: If you want to add some custom/local changes in checkout_shipping.php, you need to add a custom php file with name custom_tpl_checkout_shipping.php in themes/functions/ folder where you can add the new changes and assign those to a php variable. Also you should place that variable in checkout_shipping.tpl file on themes//checkout folder. |
|
List of tpl files used in the checkout section:- | |
checkout_confirmation.tpl | This tpl is used for checkout_confirmation.php page. |
checkout_new_address.tpl | This tpl is used for displaying the new checkout shipping/payment address input fields in checkout_shipping_address.php and checkout_payment_address.php pages. |
checkout_payment_address.tpl | This tpl is used for checkout_payment_address.php page. |
checkout_payment.tpl | This tpl is used for checkout_payment.php page. |
checkout_shipping_address.tpl | This tpl is used for checkout_shipping_address.php page. |
checkout_shipping.tpl | This tpl is used for checkout_shipping.php page. |
checkout_success.tpl | This tpl is used for checkout_success.php page. |