Answer the question
In order to leave comments, you need to log in
Why is the ajax request not being processed?
Hi all. I had such a problem. There are 2 hostings. They have the same PHP versions. There is a site on Bitrix. Combat site and copy. There is a Cart, in which the counter is updated via ajax when a product is added.
So on one hosting - everything is fine, ajax works, without reloading the page, the counter works.
On another hosting, the counter will not be updated until you refresh the page. The sites are exactly the same.
Prompt where to dig and in what there can be a problem.
Answer the question
In order to leave comments, you need to log in
Your ajax sends a request to add to the cart and on both sites this part is performed.
But the answer (updating the counter) on one site does not work, well, that's how you need to deal with this part of ajax'a. Or at least throw off the code of this part of ajax'a so that you can be helped here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question