M
M
Max Darkleviathan2017-07-18 18:18:23
PHP
Max Darkleviathan, 2017-07-18 18:18:23

How to implement a return to the product catalog in the woocommerce store, but not from the very top, but where is the product located?

It might happen somewhere but I don't even know how to put it.
There is such a task:
a store on WordPress - Woocommerce
There is a catalog of products, a grid of 3 products in a row.
All products are on one page (there are about 100 of them).
If you click on one of the products (for example, in the center of the page), and then go back to the catalog, you find yourself at the top of the page.
And it is necessary that when returning to the catalog, it remains next to this product, which you clicked on earlier.
How is it possible to implement this? Perhaps there are ready-made plugins, etc., but I don’t know how to formulate this in a search engine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WordPress WooCommerce, 2017-07-18
@maxxannik

Usually this task is solved with the help of popups. Clicking on a product opens Quick View in a popup. You look and if not that - you close. You end up right where you were. There are ready-made themes where this is done.
In theory, you can rewrite everything to front-end logic with AJAX / React. But it is a daoooooooooguuaeee-it solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question