I want make a sidebar that shows the 5 best products. In every article I save via blueprint a variable ‘rating’ a number.
I know how do access it in a single article, like this:
<?php echo $page->rating()->html() ?>
But I don’t know how I could do a best list in the sidebar. I am not so good in coding : (