T
T
Toad Coder2019-05-29 17:07:42
MODX
Toad Coder, 2019-05-29 17:07:42

How to display products from bitrix24 on a site with modx revo?

There is a site on MODX Revolution 2.7.0-pl there is a catalog of goods in Bitrix24.
It is necessary to display different lists of goods from Bitrix on certain pages of the site (filtering by categories as they are introduced in Bitrix, for example).
As I understand it, there are no ready-made solutions / plugins - and I will have to write my own scripts for periodically unloading from Bitrix via API and importing it into modx in some form? different miniShop2 can't do that?
Accordingly, how is it better to do this so that after updating a product in Bitrix24, it itself is updated within 10 minutes on all pages of the site, ideally, taking into account page caching in modx?
A separate cron script that climbs into the Bitrix api, determines the updated products and uploads them as a file somewhere to a directory on the site, and in modx - a self-written product output snippet checks that directory, updates the product lists, clears the cache, etc... ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2019-05-29
@Sanes

Learn PHP and API Modx. The work ahead is not easy.
If Bitrix itself does not provide any widget. For example, there is such a thing in CS-Cart.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question