Magento 2 Order attributes | Userguide

Magento 2 Order attributes | Userguide, updated 7/4/24, 11:59 AM

categoryOther
visibility3
  verified

Personalize your order management process with the MageAnts Magento 2 Order Attributes Extension. This powerful tool allows you to add custom fields to your checkout and order pages, capturing essential information to better serve your customers.

Key Features:

Custom Fields: Easily create and add custom order attributes to the checkout process.

Flexible Input Types: Support various input types such as text, dropdown, date, and more.

Enhanced Customer Experience: Collect additional information to tailor services and products to customer needs.

Admin Control: Manage and view custom order attributes from the admin panel.

Improved Order Management: Use custom attributes to streamline order processing and fulfillment.

Enhance your Magento 2 store with the MageAnts Order Attributes Extension and gain deeper insights into your customers’ needs. Personalize the shopping experience, improve order management, and increase customer satisfaction with this versatile extension.

About MageAntsStore

MageAnts is your trusted partner of Magento Custom DevelopmentHyvä theme development solutions provider. Put your trust in us to create an online presence for you. Let us bring you into the digital age to embark on an incredible journey. Enhance your Magento store with our Magento 2 extensions & extend store functionality.

Tag Cloud



Order attributes

for

Magento 2


USER MANUAL
Supported Version: 2.0, 2.1, 2.2, 2.3, 2.4
www.mageants.com support@mageants.com 1
Table Of Contents
Preface ......................................……………………………………......3
Installation...................................………………………………………..4
Option 1: Magento 2 install extension using COMMAND LINE .........…………..…..4
Option 2: Magento 2 install extension manually ………………………………….......5
Backend Example ………………………………………………………...……...6

Extension configuration………………………………………………………...6
Frontend Example………………………………………………………………….18
www.mageants.com support@mageants.com 2

Preface:
- The Order Attributes extension for Magento 2 lets you add extra custom fields to any of
your checkout steps. Display all created order attributes on a backend grid.
- Order attributes extension flexible settings and intuitive interface, the Order Attributes for
Magento 2 extension will help you easily fine tune the checkout page according to your
requirements. You can create a many custom order attributes as you need to adding
checkout page. Add Magento custom field input types to all orders and quickly process
collection data on the backend.
- You can create custom order attributes of different types.
- Set flexible conditions for attribute fields display.
- Show custom attributes information on the order grid, shipment grid, invoice grid.
- Custom attributes send to emails and PDF documents.
- Display order attributes depending on a particular shipping method.
www.mageants.com support@mageants.com 3
Installation:
There are two ways of installing extension in magento2.
1) Using COMMAND LINE.
2) Manually install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended).
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin
panel and switch to Stores → Configuration → Mageants → Order
attributes. The module will be displayed in the admin panel.
www.mageants.com support@mageants.com 4
Option 2: Magento 2 install extension manually.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit
app/etc/config.php file and add one line code: ‘Mageants_Orderattributes’
→ 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the
admin panel and switch to Stores → Configuration → Mageants →
Order attributes, the module will be displayed in the admin panel.
www.mageants.com support@mageants.com 5
Backend example
After Installation of Extension login to magento admin panel
to set configuration of the extension.
As per below screen shot you can set all the settings here.
Extension configuration


Display Attribute Values in the Progress Side-
bar -
set the option to Yes if you want to display custom
order
attributes on the checkout progress bar.
Date Format - select the default date format for re
lated attributes
Include Order Attributes into Emails - enable this op
tions to have the ability to include order attribute val
www.mageants.com support@mageants.com 6
ues into email.
Newsletter Subscription - enable the option to display
Newsletter Subscription option on the checkout via an or
der attribute. Set an attribute code of order attribute
(Yes/No or Checkbox).



Include Order Attributes into Shipment (packing
slip) - enable this option to include the completed at
tributes into the shipping documentation

Include Order Attributes into Invoice - enable this op
tion to include the completed attributes into the in
voice documentation.

Invoice and Shipment
www.mageants.com support@mageants.com 7
Menu
To manage Order Attributes for checkout Please go
to Mageants Order Attributes there you can add At
tributes on particular item. Here you can manage
on all attributes.

Order attributes list
www.mageants.com support@mageants.com 8
List of All created attributes will be displayed in the
grid. Click the Add New Order Attribute button to
cre
ate an attribute or select the existing one to edit it.



www.mageants.com support@mageants.com 9
New attributes creation
www.mageants.com support@mageants.com 10

Default Label - specify the attribute label that will be displayed on
the frontend.
Attribute Code - specify the attribute code that will be used for internal needs.
Store View - select the store view for which the attribute will be available.
Customer Groups - select customer groups for which the attribute will
be shown
Attribute configuration
www.mageants.com support@mageants.com 11
www.mageants.com support@mageants.com 12


Attributes relation grid

www.mageants.com support@mageants.com 13
Add new attributes relations

www.mageants.com support@mageants.com 14
Attribute display in order grid


www.mageants.com support@mageants.com 15
Order view page

www.mageants.com support@mageants.com 16
Order view page edit data

www.mageants.com support@mageants.com 17
Html Printouts


www.mageants.com support@mageants.com 18
Frontend example
See the example of custom order attributes with different input
types (text
fields, dropdowns, radio buttons, multiple checkboxes).



Display a handy calendar for the Date and Date and Time input
types. The calendar appears once a customer clicks on the attribute
field.
www.mageants.com support@mageants.com 19

Display all the custom order attributes view in frontend order sum
mary section.
www.mageants.com support@mageants.com 20
Display all the custom order attributes in order view in
frontend order view.
www.mageants.com support@mageants.com 21


Thank you!
you have any questions or feature suggestions, please contact us at:
https://www.mageants.com/contact-us.html
www.mageants.com support@mageants.com 22
Your feedback is absolutely welcome!
www.mageants.com support@mageants.com 23