A
A
AeRB2020-01-28 23:08:34
WooCommerce
AeRB, 2020-01-28 23:08:34

How to add to cart without reloading the page?

Hello, I’ll immediately clarify that there is a checkmark in the Woocommerce settings). The fact is that, as I already said, when adding a product, the page is reloaded, or rather, as I understand it, redirect to
5e30955cc7d3b995167750.png
I tried to put a button from Woo, but still the same. I know that Ajax, but I don't know how to solve it.
Ultimately, the following algorithm should occur: Click on "Add to Cart" -> The mini shopping cart block opens (do it yourself) -> A list of products is shown. I think you understand me, if anything, ask questions, I will throw off the necessary code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2020-01-29
@AeRB

add_theme_support( 'woocommerce' );
is in the topic?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question