Skip to content

grvaz/commerce-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

commerce-ml

CommerceML builder

https://youtu.be/6m4P7flSys0 (осторожно, юмор)

Пример использования:

$cml = new \ItPoet\CommerceMl\BuildXml();

$cml->groups = require ($cml->getPath() . '/../examples/groups.php');

$cml->stores = require ($cml->getPath() . '/../examples/stores.php');

$products = require ($cml->getPath() . '/../examples/products.php');

$offers = false; // Формирование каталога товаров

$offers = true; // Формирование списка предложений (остатки и цены)

echo $cml->makeXml($products, $offers);

About

CommerceML XML builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages