819 B
819 B
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)ignoreCategories
- array with keys:ids
- array with GoodFolderid
for ignoreexternalCodes
- array with GoodFolderexternalcode
for ignore
ignoreNoCategoryOffers
- Iftrue
goods that do not belong to any category are ignored
All options keys aren't required