K
K
Kirill Gorelov2017-08-10 15:21:44
1C-Bitrix
Kirill Gorelov, 2017-08-10 15:21:44

Display related products in the Bitrix cart?

Guys, tell me how to display related products in the basket that have already been selected for purchase?
That is:
There is a product, additional products have already been selected for this product and put in the basket.
2ccf8f4aa7fc46028476285714cdd9c7.jpg
Now it should be output like this.
But this is layout, not dynamic data.
If I display the product itself and its characteristics in an array like this: But I can’t figure out how to display additional equipment for the product.CCatalogProduct::GetByID($arItem["PRODUCT_ID"]);
93234854caf44748a597050fdf06d665.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2017-08-11
@babarun

how to display related products in the shopping cart that have already been selected for purchase
shta?
Let's figure it out.
There is a product "Trailer". Additional equipment is also goods?
If the product itself and its characteristics I display in an array like this
In what?
The first screenshot is a detailed product card, and the second is "checkout" or is it a shopping cart?
Did you write the component yourself or did you customize the standard one? How do you add " Additional equipment " to the shopping cart? (show code)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question