D
D
Dmitry Klimantovich2021-07-01 15:14:04
1C-Bitrix
Dmitry Klimantovich, 2021-07-01 15:14:04

Error Quantity of product "" cannot be less than or equal to 0, The currency of the product is not specified. How to get rid?

In attempts to set up sending additional goods to the basket, I added, then deleted, then I received errors.
But one error is now not removed and because of it new products are not added.
60ddb188d4081985666918.png
And it does not refer to any product. And the trash can't be emptied!
How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2021-07-01
@dikey58

Try emptying the trash using the API.

CModule::IncludeModule("sale");
CSaleBasket::DeleteAll(CSaleBasket::GetBasketUserID());

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question