diff --git a/app/views/catalog/index.rhtml b/app/views/catalog/index.rhtml index d6f4d81..702655c 100644 --- a/app/views/catalog/index.rhtml +++ b/app/views/catalog/index.rhtml @@ -103,3 +103,5 @@ <%= pagination_links @products, :params => {:controller => :catalog, :action => :index, :profile => profile.identifier} %> <%= add_zoom_to_images %> + +
diff --git a/plugins/shopping_cart/lib/shopping_cart_plugin.rb b/plugins/shopping_cart/lib/shopping_cart_plugin.rb index 31b529a..dc6c54b 100644 --- a/plugins/shopping_cart/lib/shopping_cart_plugin.rb +++ b/plugins/shopping_cart/lib/shopping_cart_plugin.rb @@ -22,6 +22,7 @@ class ShoppingCartPlugin < Noosfero::Plugin end end + alias :product_info_extras :add_to_cart_button alias :catalog_item_extras :add_to_cart_button alias :asset_product_extras :add_to_cart_button diff --git a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb index 6f57217..9db0672 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb @@ -17,7 +17,7 @@ <% end %> <%= items_table(session[:cart][:items], profile) %> - + <%= link_to '', '#', :onclick => "Cart.colorbox_close(this);", :class => 'cart-box-close icon-cancel' %>