An open API service indexing awesome lists of open source software.

https://github.com/rshkabko/commerceml

Package to exchange products by CommerceML
https://github.com/rshkabko/commerceml

1c bitrix bitrix24 commerceml exchange flamix opencart product tilda woocommerce

Last synced: 19 days ago
JSON representation

Package to exchange products by CommerceML

Awesome Lists containing this project

README

          

![Screenshot](img/commerceml.jpg)

# 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

* 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)

## 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

Inventory API and sync actions - https://inventory.app.flamix.solutions/docs

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

## Install and usage

```bash
composer require flamix/commerceml
```

Create new class

```php
$general_quantity]);
}
}
```

Init sync

```php
// Init main settings and include helpers
\Flamix\Sync\Init::init(__DIR__);

// Start exchange
// \My\CMS\Exchange replace to your class
if (($_GET['flamix_product'] ?? false) === 'Y')
\My\CMS\Exchange::start();
```

### Export: Products, category and fields from site to CRM

![Screenshot](img/export.svg)