S
S
Sergey Shilov2016-10-27 12:20:57
PHP
Sergey Shilov, 2016-10-27 12:20:57

Why does pagination work incorrectly in woocmmerce in a single product?

Hello!
I have a fairly standard function on the site - pagination for the next and previous product inside a single product, but it does not work correctly and I cannot understand what exactly is wrong.
Here is a list of products, it is sorted by ASC:
46647920782547378f3e70172bf9f40d.PNG
I click on a product called Teatro No.2 and the idea inside the product should be Teatro No.2 and the previous Teatro No.1, but it turns out like this:
0d97848a8bb0412a9beba7011a9dead6.PNG
They are mixed up, and I just wondering why this is possible! Can anyone come across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ex3manet, 2016-10-27
@ex3manet

Go to the product card template and swap. Business for 5 minutes. reason: yes, the template is written crookedly.
or by ID there is a conclusion before. track. goods.
For example, "Product 3" - ID 100, and "Product 1" - ID 102 - so it will display like yours.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question