How to find the next_product and previous_product when NOT navigating via Collections?

Saji
Tourist
8 0 0

I would like to have the next_product and previous_product links on my product page, My current url structure is "https://mobilights.com/products/xyz....", and I do NOT want to change it to "https://mobilights.com/collections/collection-name/products/xyz..

I have come across lots of articles saying this is only possible when navigation is through collections. Any ideas to fetch the Next & Previous product links would be appreciated.

Thanks

John

0 Likes