jigoshop/jigoshop — pull request #569 by strangerstudios (2012-03-27 14:40:15+00:00)
Title: Added jigoshop_sale_price filter to product class.

This filter will allow developers to override the sale price for a product. This is useful if, for example, you want to offer a site-wide discount to all "members".

It my tests, the filtered sale price was used throughout the site and checkout process. (i.e. there don't appear to be other places where we would need or want to filter the sale price)

Here is some code that will allow someone using the Paid Memberships Pro plugin to offer members a site-wide discount using this hook:

https://gist.github.com/2216490