I have a spree commerce rails app and I want to add some user controlled product sorting in the front end, within the product scope there are some simple scopes already defined but i'm unsure how to display them in my view.
Just simple links would suffice for now and then I can extend.
Here are the scopes I can use out of the box, apologies for the link but it was too much to copy and paste.
https://github.com/spree/spree/blob/2-0-stable/core/app/models/spree/product/scopes.rb