There is a link to the XML file (to a third-party site). There we have enter image description here

It is necessary to update the prices and the rest of the goods in our database. In this file there is an id - this is the name of the model and for it there is a retail_price (price) and stock (remainder). Here I need to update these data in my DB.

Perhaps there is a ready-made solution for this purpose (plugin)? I would be very grateful for the answer.

Closed due to the fact that off-topic participants ߊߚߤߘ , user194374, rjhdby , Mikhail Vaysman , aleksandr barakin 12 Feb '17 at 13:09 .

  • Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate .
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • To search for plugins for the engine, refer to the engine forum. On stackoverflow we solve other issues. - ilyaplot
  • four
    This question should be closed, because to search for plug-ins to the engine you need to contact the forum of this engine - ߊߚߤߘ

1 answer 1

This is solved without a plugin. It is enough to write a small vqmod-extension. Or, if you are not planning on updating the system, code in the admin template. In a nutshell, you need to take xml, from it, "zasusivit" product code and price at the level of "key-value". Next, add a model, because unfortunately, in the opencard, there is no method for mass processing information about products. In outline. A plugin, sorry, look for yourself.