I have a task to do:
“Implement logic in Liquid that retrieves a list of the best-selling products from the same category as the viewed product. Consider using product tags or collection types for filtering.”
I have no idea how to go about it and filter through the best-selling products using liquid in the product page theme file?