Home Forums WoodMart support forum next – previous Product – Order change

next – previous Product – Order change

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #225266

    bgerbert
    Participant

    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

    #225352

    Hello,

    Please provide the page URL and screen of what product order you mean.

    Best Regards

    #225476

    bgerbert
    Participant

    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.
    #225643

    Artem Temos
    Keymaster

    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.

    #225657

    bgerbert
    Participant

    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.

    #225671

    Artem Temos
    Keymaster

    Sorry, but we spent much time investigating this and there is no solution.

Viewing 6 posts - 1 through 6 (of 6 total)