This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onExtendCompanyInformationModel event

Triggered by Shop_CompanyInformation
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onExtendCompanyInformationModel(Shop_CompanyInformation $company_information)
$company_information Shop_CompanyInformation specifies the company information object.
Allows to define new columns in the company information model. The event handler should accept a single parameter - the company information object. To add new columns to the model, call the define_column() method of the company information object. Before you add new columns to the model, you should add them to the database (the shop_company_information table).