Skip to content

phes71/Cavalier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Mage2 Module Cavalier CustomOrderAttribute

``cavalier/module-customorderattribute``

Main Functionalities

Custom order attributes The custom attribute is added to the order table in the file CustomOrderAttribute/etc/db_schema.xml

We listen for the event checkout_submit_all_after We then save the PO Number to the customer_reference we created in our db_schema.xml

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Cavalier
  • Enable the module by running php bin/magento module:enable Cavalier_CustomOrderAttribute
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Configuration

You need to enable Purchase Order Payment Method for this to work

Specifications

  • Observer
    • checkout_submit_all_after > Cavalier\CustomOrderAttribute\Observer\Checkout\SubmitAllAfter

Attributes

  • Sales - Customer Reference (customer_reference)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages