2017 © Pedro Peláez
 

library module-extracheckoutaddressfields

image

experius/module-extracheckoutaddressfields

  • Tuesday, March 13, 2018
  • by experius
  • Repository
  • 3 Watchers
  • 24 Stars
  • 570 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 4 Versions
  • 87 % Grown

The README.md

Magento 2 Add Extra Address Fields to Checkout, (*1)

  • It renames extra address attribute fieldname, datascope to customAttributes.{attribute_code} LayoutProcessor
  • With a javascript mixin it transports them from customAttributes to extension_attributes
  • Plugin
  • In a event is transport the values from object to object. Example Quote Address to Order Address

Usage:, (*2)

  1. Add a fieldset.xml
 <scope id="global">
        <fieldset id="extra_checkout_billing_address_fields">
            <field name="attribute_code">
                <aspect name="to_order_address" />
                <aspect name="to_customer_address" />
            </field>
        </fieldset>
 </scope>
  1. Add a extensions_attributes.xml
  2. Add a customer_address attribute setup
  3. Add a quote_address field setup
  4. Add a order_address field setup

Example: See the module ExtraCheckoutAddressFieldsTest, (*3)

The Versions

13/03 2018

dev-master

9999999-dev

  Sources   Download

proprietary

by Avatar experius
by Mage2Gen

13/03 2018

1.0.2

1.0.2.0

  Sources   Download

proprietary

by Avatar experius

03/01 2018

1.0.1

1.0.1.0

  Sources   Download

proprietary

by Avatar experius

28/03 2017

1.0.0

1.0.0.0

  Sources   Download

proprietary

by Mage2Gen