Answer the question
In order to leave comments, you need to log in
How to combine products in the Bitrix cart with different price XML_IDs?
Good afternoon!
An item is added to the cart using the class
Basket::add($id, $quantity, $xmlid);
, where $id is the item's ID,
$quantity is its quantity, and
$xmlid is the XML_ID of the item's price, and is passed to the cart as a property of the item.
The product arrives in the basket in such a way that one product with different types of prices is 2 different products
. Can you please tell me how they can be combined into one?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question