C
C
countZer02020-06-18 16:10:45
1C-Bitrix
countZer0, 2020-06-18 16:10:45

How to copy products with trade offers?

Hello !

There are 2 sites on the same admin panel (multisite on different domains). There is an infoblock with goods and an infoblock with TP attached to it. I'm trying to copy both in the same admin panel. I thought of writing a script that would add products to a new infoblock, and then do the same with the TP. But there was a problem, after the transfer, the product IDs will change, respectively, the product-> TP binding will break.
Please tell me how to solve this problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2020-06-18
@alexyarik

There are no easy ways. There are two ways:
1) Upload both infoblocks of products and offers to CSV and manually prepare the files for a new import. According to XML_ID, you can prepare a binding in files and then alternately load the product catalog and then the offer catalog.
2) Upload the catalog in YML format for Yandex Market, write your own import script from YML, then import the catalog.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question