S
S
Skywrath2015-09-07 12:27:44
1C-Bitrix
Skywrath, 2015-09-07 12:27:44

1c-bitrix script for mass change of product prices?

you need a script for mass changing the price and quantity of goods in the catalog, which would be executed via the php command line

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-09-07
@gangstarcj

this will surely help

A
Alexander, 2015-09-07
Madzhugin @Suntechnic

AND? Do you need to write it? Or suggest how to do it? What exactly is not clear?
Start something like this:

require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
CModule::IncludeModule("iblock");CModule::IncludeModule("catalog");CModule::IncludeModule("sale");

Then just get the elements of the catalog and change the values.
But with the price... If you need massive price changes, it usually means that you are doing something wrong.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question