solidus_volume_pricing 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4860d509fe7eac365878042f66055496fcd28cf4eec93c4b9ec608c77270c51
4
- data.tar.gz: d53e5dcc7f6c5508b1e3f195a95c6b44d99b6d3ffdf480daeea86d27341b81c3
3
+ metadata.gz: 4851ed1cbff2d8a6b293bb4e13004c3d029904ac9b77f184d18d25c0165868d9
4
+ data.tar.gz: 3a8471044299dff716a3d99551dfe353d6aff0b41213288e7e808ec8a7d0f0ad
5
5
  SHA512:
6
- metadata.gz: 49a2c166baa55ca052a30926ca44f53070b7630c8ef193e3136c3d975181f8d48967202291ce4b50e0d1d18cbcda1d1bfb00d7c2abf067536cc90faeb24e5c95
7
- data.tar.gz: a687a9d5bf1f547f9a6fcf858c2d2e84dde9858ffabd4b71d4283f2738aed3c3f93ce22988b9686a859fcb6d72c0e688c00884af201c1d965e39803759a0fd8d
6
+ metadata.gz: eb6a8e0e5e693b25583d7648a42375c6a11ae0afdbd7a6435306ec9cfc159848ce062a0b1f73ca953bbf9ddf48b12266bd95fcdda5e0d3a04a0aca28205c193f
7
+ data.tar.gz: 30aff993f5ed9e502533377c770d252064e5fd77b503024e5cab0759dc9a445396f0bad14b81da672d2bafdccef67d73d5ab295af9459de470da4e4c53d13d9a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # Changelog
2
2
 
3
- See https://github.com/solidusio/solidus_volume_pricing/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
3
+ See https://github.com/solidusio-contrib/solidus_volume_pricing/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
@@ -0,0 +1,3 @@
1
+ <!-- insert_bottom '[data-hook="admin_product_tabs"]' -->
2
+
3
+ <%= render 'spree/admin/shared/vp_product_tab', current: current %>
@@ -0,0 +1,3 @@
1
+ <!-- insert_after '[data-hook="admin_variant_edit_form"]' -->
2
+
3
+ <%= render 'spree/admin/variants/edit_fields', f: f %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusVolumePricing
4
- VERSION = '1.1.1'
4
+ VERSION = '1.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_volume_pricing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-24 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_backend
@@ -168,8 +168,9 @@ files:
168
168
  - app/models/solidus_volume_pricing/pricing_options.rb
169
169
  - app/models/spree/volume_price.rb
170
170
  - app/models/spree/volume_price_model.rb
171
+ - app/overrides/spree/admin/shared/_product_tabs/add_volume_pricing_admin_tab.html.erb.deface
171
172
  - app/overrides/spree/admin/shared/_settings_sub_menu/add_volume_price_model_admin_menu_links.html.erb.deface
172
- - app/overrides/views_decorator.rb
173
+ - app/overrides/spree/admin/variants/edit/add_volume_pricing_field_to_variant.html.erb.deface
173
174
  - app/views/spree/admin/shared/_vp_product_tab.html.erb
174
175
  - app/views/spree/admin/variants/_edit_fields.html.erb
175
176
  - app/views/spree/admin/variants/volume_prices.html.erb
@@ -247,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
248
  - !ruby/object:Gem::Version
248
249
  version: '0'
249
250
  requirements: []
250
- rubygems_version: 3.3.7
251
+ rubygems_version: 3.2.33
251
252
  signing_key:
252
253
  specification_version: 4
253
254
  summary: Allow prices to be configured in quantity ranges for each variant
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Deface::Override.new(
4
- virtual_path: 'spree/admin/shared/_product_tabs',
5
- name: 'add_volume_pricing_admin_tab',
6
- insert_bottom: '[data-hook="admin_product_tabs"]',
7
- partial: 'spree/admin/shared/vp_product_tab'
8
- )
9
-
10
- Deface::Override.new(
11
- virtual_path: 'spree/admin/variants/edit',
12
- name: 'add_volume_pricing_field_to_variant',
13
- insert_after: '[data-hook="admin_variant_edit_form"]',
14
- partial: 'spree/admin/variants/edit_fields'
15
- )