kowal.info

Checkout Sort Order Shipping Fields

Composer kowal/module-checkoutsortordershippingfields · Version 1.0.4

Product page

A product page on kowal.co has not been confirmed.

Description

Sets the order of ten shipping address fields in the standard Magento checkout form.

For whom

For administrators arranging the shipping address form in the standard Magento checkout for each store view.

Features

  • Set individual positions for ten address fields, including telephone, street, postcode and country.
  • Configure the order per store view.
  • Optionally hide the country selector.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-checkoutsortordershippingfields
bin/magento module:enable Kowal_CheckoutSortOrderShippingFields
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

Open Checkout Sort Order Shipping Fields → Settings in store configuration, select the store view and turn on Enable. Lower numbers place fields earlier. Telephone defaults to 80 and street to 50. To put telephone before street and after VAT ID (40), set Telephone Sort Order to 45.

The extension changes the shipping address fieldset in the standard checkout layout. Hide Country Field can hide the country selector.

Requirements / notes

The module modifies the shipping address layout. For a custom checkout, check whether the theme renders Magento’s standard shipping form.

FAQ

Why does the order appear unchanged?

Open the store view where the setting was saved. In checkout, open the new shipping address form and compare two fields with different sort values.

Verify the installation

Add a shippable product. As a guest, open the new shipping address form and check that telephone appears before street. If the store has multiple views, test the view where you saved the configuration.