Spree Extensions View All

Highlight products

This extension makes it possible to ‘highlight’ certain products that you can then easily show on the homepage for example. Highlighting a product updates a newly added timestamp on the Product model. There is also a named scope Product.highlighted, which selects all products that have been highlighted, and orders them so that the first in the result is the last one highlighted. There is no ‘unhighlight’ button.

I started off with paulcc’s promotions extension, but the only thing left of it is the best_sellers method, which I moved to the Product model.. There is an other extension also called promotions, which better deserves the name, as it’s about actual promotions (lowered prices), and not about promoting something to the home page.

Written for Spree 0.11.0. I am very new to Spree, so I have no idea which versions this should be compatible with. Uses view hooks though, which is a pretty recent functionality I think.




Compatibility with Spree 0.30.x

Owner has not voted

Is it working for you?

Login to Vote.


Total Yes Votes:

0

Total No Votes:

0


Show All Votes


Comments

Login to Comment.

Author

Benny Degezelle
(added by: Benny Degezelle)

Github