Answer the question
In order to leave comments, you need to log in
Why doesn't $basket->getExistsItem('catalog', $productId) work in bitrix?
I try to check the existence of a product in the cart using the product id, it does not work.
$basket->getExistsItem('catalog', $productId)
How to extract an item from the basket by product id? Does $basket have a method for doing this, without having to manually iterate through all the elements of the basket and compare.
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