0
0
0leg5ergeev2016-04-14 20:19:04
PHP
0leg5ergeev, 2016-04-14 20:19:04

How to update the counter of the number of items in the cart when adding a product there?

in general, I display the number of goods in the basket <?php echo $cart_total; ?>,
and when adding new goods to this same basket, the number does not update itself, only when the page is refreshed, how to implement such a miracle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DTX, 2016-04-14
@0leg5ergeev

At the time of adding a product to the cart, increase the counter using js / jQuery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question