CommerceML Integration: Sync 1C with Your Website

1C Integration via CommerceML with Your Website

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1281
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1237
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    977
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    1026
  • image_website-sbh_0.webp
    Website development for SBH Partners
    1103
  • image_website-_0.webp
    Website development for Red Pear
    550

1C Integration via CommerceML with Your Website

Every morning, you update prices on your site manually? Then find out you forgot a promotion, and customers leave for competitors? Our 1C CommerceML integration provides automatic 1C site synchronization of products, prices, stock, and orders. No manual work, no errors. We deploy a working solution on your hosting (depending on scope). The CommerceML standard was developed by 1C. Contact us for a free assessment of your project. Our engineers have 10+ years of experience in 1C integration. Our clients achieve significant monthly savings in salary costs.

What Problems CommerceML Solves

Manual catalog export: each new item takes time, and human error creeps in. With manual sync, the chance of missing a price or stock change increases with every update. CommerceML processes catalogs 10 times faster than manual export, eliminating errors. Price changed in 1C—on the site it must update instantly, or the customer sees an incorrect amount. CommerceML allows configuring exchange intervals from minutes. The standard is 5 times more efficient than custom CSV parsers. A new order on the site must reach 1C for invoicing; if not, penalties and lost trust. CommerceML ensures automatic order export. If a product runs out in 1C stock but is still sold on the site, CommerceML exports stock and hides unavailable items, preventing overselling.

Parameter Manual Sync CommerceML Integration
Catalog update time Hours/days Minutes
Error frequency High Minimal
Scalability Limited Unlimited

How CommerceML Works in Practice?

CommerceML is a standard for exchanging commercial data between 1C and trading systems. Developed by 1C, the CommerceML protocol is widely supported by Russian CMS for 1C CMS integration (1C-Bitrix, OpenCart, WordPress + WooCommerce). For custom sites, a CommerceML parser needs to be implemented.

CommerceML Format

CommerceML is an XML format with several file types:

  • import.xml — product catalog (items, groups, properties)
  • offers.xml — offers (prices, stock, characteristics)
  • orders.xml — orders (export from CMS to 1C)
  • import.xml response from 1C — order status updates
Example import.xml structure
<?xml version="1.0" encoding="UTF-8"?> <КоммерческаяИнформация ВерсияСхемы="2.05"> <Каталог СодержитТолькоИзменения="false"> <Товары> <Товар> <Ид>550e8400-e29b-41d4-a716-446655440001</Ид> <Наименование>Футболка мужская синяя</Наименование> <Группы><Ид>category-001</Ид></Группы> <СтавкаНалога>НДС20</СтавкаНалога> <Картинка>images/tshirt.jpg</Картинка> <ЗначенияСвойств> <ЗначенияСвойства> <Ид>prop-color</Ид> <Значение>Синий</Значение> </ЗначенияСвойства> </ЗначенийСвойств> </Товар> </Товары> </Каталог> </КоммерческаяИнформация> 

Offers.xml Structure

<ПакетПредложений> <Предложения> <Предложение> <Ид>550e8400-e29b-41d4-a716-446655440001#size-XL</Ид> <Наименование>Футболка мужская синяя XL</Наименование> <Цены> <Цена> <ИдТипаЦены>retail</ИдТипаЦены> <ЦенаЗаЕдиницу>1500.00</ЦенаЗаЕдиницу> <Валюта>RUB</Валюта> </Цена> </Цены> <Количество>25</Количество> </Предложение> </Предложения> </ПакетПредложений> 

Why Incremental Updates Are Critical for Performance

After the initial full sync, subsequent exchanges can be incremental: СодержитТолькоИзменения="true". This dramatically speeds up sync since only changed products are loaded. Incremental updates reduce sync time from hours to minutes. Without them, a full re-import of a 10,000-product catalog would take 2–3 hours, unacceptable for frequent exchange.

How CommerceML Handles Product Variations

Products with variations (size, color) in CommerceML are represented as a single item with multiple offers. Each offer has a unique Ид like {product-guid}#{characteristic-guid}. This must be correctly mapped to product variations in the site database. We use the Repository pattern for flexible mapping. Variations are a common source of errors in integrations without CommerceML; the standard solves this without extra tweaks.

Exchange Protocol

1C initiates an exchange session via HTTP requests to the CMS using a specific protocol:

GET /exchange.php?type=catalog&mode=checkauth → Authentication GET /exchange.php?type=catalog&mode=init → Initialization (buffer size, zip support) POST /exchange.php?type=catalog&mode=file&filename=import.xml → File upload (may be chunked for large files) GET /exchange.php?type=catalog&mode=import&filename=import.xml → Start processing 

Handler Implementation in PHP

class CommerceML { public function handle(Request $request): Response { $mode = $request->query('mode'); $type = $request->query('type'); return match($mode) { 'checkauth' => $this->checkAuth(), 'init' => $this->init(), 'file' => $this->saveFile($request), 'import' => $this->processImport($request->query('filename')), 'query' => $this->exportOrders(), // export orders to 1C 'success' => $this->markOrdersExported(), default => response('failure', 400) }; } protected function processImport(string $filename): Response { $xml = simplexml_load_file(storage_path("cms-exchange/{$filename}")); // Parse and save products to DB dispatch(new ProcessCommerceMLImport($xml)); return response('success'); } } 

Project Phases

  1. Analysis — study the 1C structure (documents, directories) and current site architecture. Identify necessary mappings.
  2. Design — develop the exchange scheme: what data to transfer, frequency, error handling.
  3. Development — write a CommerceML parser supporting incremental updates, variations, and bidirectional exchange.
  4. Testing — verify all scenarios: full load, partial updates, concurrent access, handling malformed XML.
  5. Deployment — configure cron or 1C scheduler, monitoring, logging.
Phase Duration
Analysis 2–3 days
Design 1–2 days
Development 5–10 days
Testing 2–3 days
Deployment 1 day

What You Get

  • Working bidirectional exchange of products, prices, stock, and orders.
  • API and protocol documentation (for future modifications).
  • Instructions for the accountant on how to trigger exchange in 1C.
  • 6-month warranty on the setup.
  • Free support for the first month.

Development time: 2–4 weeks for implementing CommerceML parser and bidirectional exchange. Total project cost depends on scope.

Case Study: 15,000 SKU Retailer

We integrated CommerceML for a retailer with 15,000 SKUs. Previously, manual price updates required two employees working 4 hours daily. After integration, sync is fully automatic—10,000 product updates now complete in under 2 minutes. The client saves significantly monthly and avoids overselling.

Contact us for a free engineer consultation with 10+ years of 1C integration experience. We'll assess your project's complexity and propose the optimal solution.