R
R
run1822019-12-02 23:08:37
Layout
run182, 2019-12-02 23:08:37

How can I check if a coupon can be applied to a shopping cart without creating an order?

There are items in the cart, but the order has not yet been created. The user enters a coupon. Is it possible after entering a coupon to check whether it is applicable to a given basket or not without creating an order?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-12-17
@webinar

How it works?

Magic. It's called JavaScript. Tutorial: https://learn.javascript.ru
The script code itself is in the public domain: https://github.com/artpolikarpov/fotorama
I personally do not mind, but it will not work, or at least it will work clumsily. But the most important question is why? The script builds a certain structure for you - it's convenient.

Z
zhyeba, 2019-12-03
@run182

https://dev.1c-bitrix.ru/api_help/catalog/classes/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question