S
S
Svet Valentin2017-12-06 16:42:27
CodeIgniter
Svet Valentin, 2017-12-06 16:42:27

How to synchronize a site with 1s using codeigniter or pure PHP?

Tell me how to synchronize the site step by step with 1s using codeigniter or pure PHP ?
And is it possible to update the data on the site from 1s or send data to 1s (approx. orders from the site) after a time interval?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Kinash, 2017-12-06
@Dementor

If you do not want to back down and decide to complete this task, then you have two options:
1) Use the developments of Bitrix (now bought out by 1C). If there is one of the typical configurations at the second end, then you just need to download and install the appropriate module from this page . Next, you need to study the CommerceML standard , which was developed by 1C together with Microsoft. And as a final chord, take your "pure PHP" and write the server part of the exchange mechanism, which will receive reference data from 1C and return back orders (and everything else that you implement).
2) Or be a real samurai. Develop your own business data exchange protocol, and then create all the necessary integration mechanisms in 1C and on your website. It's easier, because no one limits your imagination :)

D
davidnum95, 2017-12-06
@davidnum95

Have you already tried something? Google? Or give you ready-made code?

B
Boris Syomov, 2017-12-06
@kotomyava

If you need the ability to work directly with data in real time, 1c8 has the ability to exchange data using the OData protocol over the http transport. There is documentation for it, and it is not so difficult to make data exchange in any language, in particular PHP.
And CommerceML is more about uploading prices / loading orders from time to time, and this is also well documented.
And no one here will explain to you step by step. There will be different steps for different tasks. And the implementation will be different even for different 1C configurations.

D
dmitriy, 2017-12-07
@dmitriylanets

From side 1, connect via
FTP to the site and upload the file for export in 1s, after uploading, pull the url on the site to load data into the site db, downloading in 1s is even easier, just pull the urlp with csv data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question