1
0
Fork 0
mirror of synced 2025-04-09 12:02:04 +00:00
ICML generator for the MoySklad catalog
Find a file
Chernyavtsev Ivan f1c82975f6 Fix README
2014-12-17 16:31:46 +03:00
example.php Initial commit 2014-12-17 16:24:51 +03:00
MoySkladICMLParser.php Initial commit 2014-12-17 16:24:51 +03:00
README.md Fix README 2014-12-17 16:31:46 +03:00

moyskad-catalog

ICML generator for the MoySklad catalog

Usage

  1. Include file MoySkladICMLParser.php

  2. Configure parser

$parser = new MoySkladICMLParser(
    'login@moysklad',
    'password',
    'shopname',
    $options
);
  1. Call generateICML method

See file example.php for simple usage example.

Options

Options is array with next keys:

  • file - filename with result icml without path (default: shopname.catalog.xml)
  • directory - target directory for icml file (default: current directory)
  • ignoreOffers - if true consignment from MoySklad will be ignored
  • ignoreCategories - string 'all' or array with keys:
    • uuids - array with GoodFolder uuid for ignore
    • externalCodes - array with GoodFolder externalcode for ignore
  • ignoreProducts - array with keys:
    • uuids - array with Good uuid for ignore (Consignment can't be ignore)
    • externalCodes - array with Good externalcode for ignore (Consignment can't be ignore)

All options keys aren't required