From 90d94be4307ff2aa874b688bb665b229e907e2e7 Mon Sep 17 00:00:00 2001 From: Girish Sonawane Date: Mon, 10 Feb 2014 17:21:58 +0530 Subject: [PATCH] Updated Readme added deface example --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index da769ae..9b4e934 100644 --- a/README.md +++ b/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 -------------