Home › Forums › WoodMart support forum › Products navigation next/previous
Products navigation next/previous
- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
July 2, 2021 at 1:37 pm #304183
GunaParticipantDear support team,
On the product details page previous and next navigation functionality not working properly.
For Example:
Kalamkari category: https://dextratechnologies.in/thesstudioonline/product-category/blouses/kalamkari-blouses/
First product: https://dextratechnologies.in/thesstudioonline/product/deep-orange-kalamkari-applique-blouse-with-hand-embroidery/
Second Product: https://dextratechnologies.in/thesstudioonline/product/kalamkari-applique-work-pink-color-blouse/
When hovering the next icon in first product it’s should show the second product instead of that it’s showing main category product : https://dextratechnologies.in/thesstudioonline/product/hand-embroidered-yellow-kanchipuram-silk-semi-stitched-blouse-material/
Can you please check?
July 2, 2021 at 2:04 pm #304186
Artem TemosKeymasterHello,
By default, the WooCommerce plugin doesn’t have products next/previous arrows functionality at all. To implement this feature we use standard WordPress PHP get_next_post and get_prev_post functions that can obtain adjacent posts from the database. Unfortunately, it takes products from the whole table and depends only on the shop page order. The system can’t know that you previously visited this product’s category page. Yes, it would be much better to show next/prev product from the same category. But how the system might know which one? The product can be from multiple categories. Then, from which category next product should be taken? Or for example, if I use filter by price or by color/size the order for products changes again. And naturally, that when you open some product from that page you must see products from the same color/size or from the same price filter interval. And there are a lot of such cases that make it impossible to make product arrows buttons work as expected.
We spent a lot of time investigating this issue but, unfortunately, there is no solution for this problem. You can check any other theme for WooCommerce and you will see the same issue.
Kind Regards
July 6, 2021 at 6:47 am #304726
GunaParticipantWhat is the solution to resolve this issue is there any plugin available?
July 6, 2021 at 7:39 am #304737
Artem TemosKeymasterSorry, but we don’t know any plugin that might solve this problem.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register