R
R
Roman Govorov2022-03-30 13:00:10
WooCommerce
Roman Govorov, 2022-03-30 13:00:10

How to make the button for displaying discounted products in the woocommerce catalog work?

I created a button, put it in the form, the point is that it substitutes the GET parameter in the url -> shop.ru?on_sale=on
But nothing happens, all products are still displayed in the catalog, both with and without a discount, why?

The entire Internet went through everything, everything is displayed either on some separate page or they cut a bunch of plugins, but here it takes 5 minutes by hand. to do, but I do not understand why my version does not work?

shop.ru?on_sale=on <- crap?

But if plugins are installed, they substitute exactly on_sale=on and everything is ok...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question