F
F
freeman02042017-01-24 17:39:40
PHP
freeman0204, 2017-01-24 17:39:40

Cart loses styles after adding product (Opencart) How to fix?

The cart is edited in cart.tpl but I did not find there how to fix the styles after adding the product to the cart. Those. I add a product and the styles start to display crookedly. After refreshing the page manually everything is ok. Why so, who faced?
In fact, nothing should change, just instead of 0, 1 appears in a circle (in a basket).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2017-01-30
@alexeyfedotof

When adding a product, the cart is reloaded using ajax. Perhaps some part was not loaded and therefore the styles ceased to work. Check the cart code before and after adding the product.

T
twobomb, 2017-08-08
@bubuxDD

All calculations that can be thrown on the subd, always throw off on the subd!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question