QUESTION:
I got an error on directing function of your module on my Magento site 2.2.6.
For example, on a category with product order following: A, B, C, D.
When I start from item A and hit the next button, it doesn't redirect to product B following order as showing on the category listing.
ANSWER:
To fix this error on M2.2.6, please edit file app/code/Bss/PreviousNextProductCustom/Plugin/Toolbar.php as below:

Or download the attached file below and overwrite the current file on your site.
If you have any other question or concern, please feel free to contact us. We'd be happy to support!
Reach us now!!
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Discover our extensions: https://bsscommerce.com/magento-2-extensions.html
Our Magento B2B Extension by BSS Commerce is a flagship, widely used global solution, providing an all-in-one system for pricing, account management, and efficient B2B workflows.
Please don't hesitate to contact us if you need any further support.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article