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
- Host: GitHub
- URL: https://github.com/rshkabko/commerceml
- Owner: rshkabko
- License: mit
- Created: 2022-10-05T07:30:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T13:54:32.000Z (over 3 years ago)
- Last Synced: 2026-02-15T11:27:19.194Z (4 months ago)
- Topics: 1c, bitrix, bitrix24, commerceml, exchange, flamix, opencart, product, tilda, woocommerce
- Language: PHP
- Homepage:
- Size: 1.85 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

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

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