next – previous Product – Order change
-
Hello,
the next / previous option on the product site show the next product-id and not the next product-order.
How can I change this?
Thanks for you help
Best regards Barbara
Hello,
Please provide the page URL and screen of what product order you mean.
Best Regards
Hello,
it is about all products. Example https://www.grillbar-bq.de/produkt/qflame-feuerschale-glas-71cm/
This produkt has the post-ID 9115. The next post-id is 9133 and this is the product shown as the next product. But the order of the products is another one – have a look at the screenshot – it is 110.
I hope I could explain.
Thanks for your help
Best regards
Attachments:
You must be
logged in to view attached files.
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.
Thanks for your reply.
That is really a pity :-(. Perhaps there is any hack to change the php to get_next_order or anything like this.
Sorry, but we spent much time investigating this and there is no solution.