PHPackages                             flamix/commerceml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. flamix/commerceml

ActiveLibrary

flamix/commerceml
=================

Flamix package to use CommerceML

1631PHP

Since Feb 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rshkabko/commerceml)[ Packagist](https://packagist.org/packages/flamix/commerceml)[ RSS](/packages/flamix-commerceml/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Screenshot](img/commerceml.jpg)](img/commerceml.jpg)

About
=====

[](#about)

This package is intended for integration of product synchronization applications from FLAMIX. The package uses a simplified and improved version of the CommerceML exchange protocol.

Philosophy of Sync
------------------

[](#philosophy-of-sync)

- Adding, editing, parsing, and deleting products, catalogs, and fields are carried out only on the site;
- Bitrix24 synchronizes the catalog structure and products with fields;
- Bitrix24 synchronizes product rests and prices to the site;

Warning! Bitrix24 does not upload the catalog and products to the website.

[![Screenshot](img/philosophy.svg)](img/philosophy.svg)

Concept Guides
--------------

[](#concept-guides)

We use CommerceML standards, but in order to simplify the exchange and in line with our sync philosophy, the following logical concepts have been adopted:

- Main language - English (in some places it is translated into Russian to maintain backward compatibility);
- Synchronization occurs step by step, 30 products per step;
- After import, the import file is automatically deleted;
- All data is compressed via zip;
- If you need stop actions use `throw new \Exception('Your message');`

API and Actions
---------------

[](#api-and-actions)

Inventory API and sync actions -

Can be imported and used as a Postman collection or OpenAPI Spec.

Install and usage
-----------------

[](#install-and-usage)

```
composer require flamix/commerceml
```

Create new class

```
