1.0 KiB
1.0 KiB
moyskad-catalog
ICML generator for the MoySklad catalog
Usage
-
Include file
MoySkladICMLParser.php
-
Configure parser
$parser = new MoySkladICMLParser(
'login@moysklad',
'password',
'shopname',
$options
);
- 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
- iftrue
consignment from MoySklad will be ignoredignoreCategories
- string'all'
or array with keys:uuids
- array with GoodFolderuuid
for ignoreexternalCodes
- array with GoodFolderexternalcode
for ignore
ignoreProducts
- array with keys:uuids
- array with Gooduuid
for ignore (Consignment can't be ignore)externalCodes
- array with Goodexternalcode
for ignore (Consignment can't be ignore)
All options keys aren't required