Home Forums Basel support forum Basel Product Navigation Arrows

Basel Product Navigation Arrows

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9256

    mihudesign
    Participant

    Hi,

    I want to know how I can put my products in order so the product navigation arrows work correctly. For example:

    I have a category called Rails, with four products. If I’m on the 1st product page and click on the right arrow I go to a totally different product then the 2nd product page. So is there any way of putting these products in order so the arrows work correctly? If not, how can I remove the arrows?

    I really want this to work though, it would be a shame if I would have to remove them.

    Thanks!

    #9259

    Artem Temos
    Keymaster

    Hello,

    Thank you for choosing our theme and contacting us.

    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.

    Hope for your understanding.

    Kind Regards
    XTemos Studio

    #11535

    altitudes89
    Participant

    Hello

    I has the same thought as you do, and I concluded that you should offer an option to deactivate product navigation, as most of the time it will be irrelevant.
    Sure you can hide it with some CSS, but from a performance point of view, this is not the best solution.

    Regards

    #11536

    Artem Temos
    Keymaster

    Hi,

    Sure, we will introduce this option in our next theme update.

    Regards

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