A
A
alexander_chn2017-05-31 17:57:57
1C-Bitrix
alexander_chn, 2017-05-31 17:57:57

What's wrong with the shopping cart in Bitrix?

Hello everybody!
The cart looks like this prntscr.com/fe9ycq, after adding a product it becomes like this prntscr.com/fe9yjk, and when the page is refreshed it returns to its previous form prntscr.com/fe9ycq
What is the catch of this behavior and how to remove it?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2017-06-01
@gangstarcj

You have made your template, which is taken from the template.php file when loaded. When adding a product, the cart is updated and the code is taken from the ajax.php file (maybe called differently, I don’t remember exactly), in the cart template folder, and replaces the cart with new data

A
alexander_chn, 2017-06-01
@alexander_chn

those. need to fix the code in the ajax.php file?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question