A
A
Anto2017-09-19 17:19:34
1C-Bitrix
Anto, 2017-09-19 17:19:34

How to display the quantity of an item in the cart?

Good afternoon!
The site was transferred after which the compote link to the basket stopped working, when you add a product to the basket, it is added to the product page, it is displayed in the list of products, but the product is not displayed in the link to the basket component.
Tell me what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
peregrinTuk, 2017-09-19
@peregrinTuk

If you need the total quantity of the item in the cart, customize the component.
See CSaleBasket::GetList
Loop and copy "QUANTITY"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question