Spree Commerce

Try It Now

SEO Permalinks and available_on for Products

Posted on July 08, 2008 by Sean Schofield

A few days ago we received two excellent product related contributions from Gregg Pollack and Jason Seifer. The first new feature is SEO Permalinks for Products. This feature makes use of the excellent find_by_param plugin to automatically generate human readable permalinks for your products. So now instead of a URL of ‘products/12345’ you have something like ‘products/ruby-on-rails-ringer-t-shirt.’

The second feature is an available_on field. This is a date field that can be set to a future date. There is a new named scope called available which helps limit the list of products to only those that should be available according to the current date.
As an added bonus, they also refactored all of the product stuff to make it RESTful. Thanks for the great contributions!