N
N
nazakaz2017-05-24 19:43:09
JavaScript
nazakaz, 2017-05-24 19:43:09

How to add a button to the cart in the search results?

There is an unusual task on Bitrix. What can anyone advise from professionals? It is necessary that the search "search.title" has an add to cart button and the addition to the cart is performed accordingly without reloading the page. Moreover, the search should be available on all pages of the site.
The difficulty is that when adding a product, a standard Bitrix window "product added" should pop up and information about orders in the basket is updated in the mini-profile from above. It is possible to do all this manually, but for a long time and crookedly, maybe there are ready-made components for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima, 2018-08-23
@DariaShvakh

forgot about the library. //cdn.jsdelivr.net/theaterjs/latest/theater.min.js
on the codepen of the js library here
, in general , here is a good video on working with another library for the set effect, I
forgot. sorry)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question