Browse files

Updated Readme

added deface example
  • Loading branch information...
1 parent bebd923 commit 90d94be4307ff2aa874b688bb665b229e907e2e7 @girishso girishso committed Feb 10, 2014
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
7 README.md
@@ -27,6 +27,13 @@ Customization
-------------
By default the recently sold products are displayed at the bottom. You
can change this by overriding the view in `app/overrides/spree/add_recently_sold_product.rb`
+```ruby
+Deface::Override.new(:virtual_path => 'spree/home/index',
+ :insert_bottom => "[data-hook='homepage_products']",
+ :partial => "/spree/home/recently_sold_products",
+ :disabled => false,
+ :name => 'add_recently_sold_product')
+```
Configuration
-------------

0 comments on commit 90d94be

Please sign in to comment.