spree_carousels 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,10 @@ Deface::Override.new(
|
|
2
2
|
virtual_path: "spree/products/show",
|
3
3
|
partial: 'spree/products/related_products',
|
4
4
|
insert_bottom: "#product-details",
|
5
|
+
name: 'add_product_page_carousel')
|
6
|
+
|
7
|
+
Deface::Override.new(
|
8
|
+
virtual_path: "spree/products/show",
|
9
|
+
partial: 'spree/products/related_products',
|
10
|
+
insert_bottom: "[data-hook='product_show'] .row",
|
5
11
|
name: 'add_product_page_carousel')
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Related Products
|
5
5
|
</div>
|
6
6
|
<div class="carousel-products">
|
7
|
-
<%= render partial: 'products/products', locals: {products: @product.related_products.map {|r| r.related_to }} %>
|
7
|
+
<%= render partial: 'spree/products/products', locals: {products: @product.related_products.map {|r| r.related_to }} %>
|
8
8
|
</div>
|
9
9
|
<div class="clearfix" />
|
10
10
|
<a class="prev" href="#"><span>prev</span></a>
|
data/spree_carousels.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_carousels'
|
5
|
-
s.version = '1.2.
|
5
|
+
s.version = '1.2.6'
|
6
6
|
s.summary = 'Adds carousels to spree'
|
7
7
|
s.description = 'Adds carousel functionality to spree homepage, based on taxons'
|
8
8
|
s.required_ruby_version = '>= 1.9.2'
|