erp_type_extend_example

Reference: https://docs.oxid-esales.com/interfaces/erp/en/3.1/extending-erp-interface/extending-existing-erp-types.html

Locate to the shop root directory (where the folders source and vendor are located).

mkdir repo
cd repo/
git clone https://github.com/michaelkeiluweit/erp_type_extend_example.git
cd ..
composer config repositories.oxs/examplemodule path repo/erp_type_extend_example/
composer require oxid-support/example

activate the module.

Result:

         [...]
          <ns1:ArrayOfString>
             <ns1:string>OXISDOWNLOADABLE</ns1:string>
             <ns1:string>0</ns1:string>
          </ns1:ArrayOfString>
          <ns1:ArrayOfString>
             <ns1:string>MYMCOLUMNA</ns1:string>
             <ns1:string>1</ns1:string>
          </ns1:ArrayOfString>
          <ns1:ArrayOfString>
             <ns1:string>MYMCOLUMNB</ns1:string>
             <ns1:string>3</ns1:string>
          </ns1:ArrayOfString>
          <ns1:ArrayOfString>
             <ns1:string>MYMCOLUMNC</ns1:string>
             <ns1:string>444</ns1:string>
          </ns1:ArrayOfString>
       </ns1:aResult>
       <ns1:blResult>true</ns1:blResult>
       <ns1:sMessage/>
    </ns1:OXERPType>
 </ns1:OXERPGetArticlesResult>
</ns1:OXERPGetArticlesResponse>