http://modx-shopkeeper.ru/


Translated by kp52.

Shopkeeper module for MODx

Order management for the internet store

Функции

Installation

  1. If the Shopkeeper snippet has not yet been installed, copy the snippet files to the folder assets/snippets/shopkeeper/.
  2. In the Manager, go to "Modules" -> "Manage Modules"
  3. Click on "New Module"
  4. Module name: Shopkeeper,
    Description: Order management,
    Open the file Shopkeeper_module.php in the "install" folder, copy the contents and paste into the Module Code field. Click on "Save".
  5. Go to "Modules" -> "Manage Modules" and click on the icon next to Shopkeeper. Click on Install to install the module.
  6. If the Shopkeeper snippet has already been fully installed and set up (before you installed the module), the "install" folder can be deleted.

Configuration

Important points

For the orders to be sent to the module, the eForm snippet call must include the following parameters:
&eFormOnBeforeMailSent=`populateOrderData`&eFormOnMailSent=`sendOrderToManager`.

The order form template chunk should include a hidden field naming the report message chunk (reportTpl): <input type="hidden" name="reportTpl" value="shopOrderReport" />

Sample eForm call

[!eForm? &formid=`shopOrderForm`&tpl=`shopOrderForm`&report=`shopOrderReport`&vericode=`1`&gotoid=`11`&subject=`Заказ в интернет-магазине`&eFormOnBeforeMailSent=`populateOrderData`&eFormOnMailSent=`sendOrderToManager`!]