Spree Commerce

Try It Now

- Volume Pricing -


Volume Pricing is an extension to Spree (a complete open source commerce solution for Ruby on Rails) that uses predefined ranges of quantities to determine the price for a particular product variant. For instance, this allows you to set a price for quantities between 1-10, another price for quantities between (10-100) and another for quantities of 100 or more. If no volume price is defined for a variant, then the standard price is used.

Each VolumePrice contains the following values:

  • Variant: Each VolumePrice is associated with a Variant, which is used to link products to particular prices.
  • Display: The human readable reprentation of the quantity range (Ex. 10-100). (Optional)
  • Range: The quantity range for which the price is valid (See Below for Examples of Valid Ranges.)
  • Amount: The price of the product if the line item quantity falls within the specified range.
  • Position: Integer value for acts_as_list (Helps keep the volume prices in a defined order.)


Comments

Be the first to comment on this extension.

Login to Comment.

LATEST

jakapong
by jakapong
jakapong
by jakapong
Capistrano Spree
by Alessandro Lepore
Spree Scaffold
by Alessandro Lepore
Spree Slug History
by Alessandro Lepore

CREATED BY

Rails Dog

Github

Stable Releases

Ext. Ver. Spree Ver. Actions
3.0.2 0.60.x Install   | Source

Dev Releases

Ext. Ver. Spree Ver. Actions
2.0.x - edge 2.0.x Show
1.3.x - edge 1.3.x Show
1.2.x - edge 1.2.x Show
1.1.x - edge 1.1.x Show

NOTE:These instructions only apply to Spree version 2.0.x.

1. Add the following line to your Gemfile

gem '', :git => 'git://raw.github.com/spree/spree_volume_pricing.git', :branch => '2-0-stable'

2. Update your bundle by running:

$ bundle install

3. Refer to the extensions READme for further instructions:

http://github.com/spree/spree_volume_pricing

NOTE:These instructions only apply to Spree version 1.3.x.

1. Add the following line to your Gemfile

gem '', :git => 'git://raw.github.com/spree/spree_volume_pricing.git', :branch => '1-3-stable'

2. Update your bundle by running:

$ bundle install

3. Refer to the extensions READme for further instructions:

http://github.com/spree/spree_volume_pricing

NOTE:These instructions only apply to Spree version 1.2.x.

1. Add the following line to your Gemfile

gem '', :git => 'git://raw.github.com/spree/spree_volume_pricing.git', :branch => '1-2-stable'

2. Update your bundle by running:

$ bundle install

3. Refer to the extensions READme for further instructions:

http://github.com/spree/spree_volume_pricing

NOTE:These instructions only apply to Spree version 1.1.x.

1. Add the following line to your Gemfile

gem '', :git => 'git://raw.github.com/spree/spree_volume_pricing.git', :branch => '1-1-stable'

2. Update your bundle by running:

$ bundle install

3. Refer to the extensions READme for further instructions:

http://github.com/spree/spree_volume_pricing

NOTE:These instructions only apply to Spree version 0.60.x.

1. Add the following line to your Gemfile

gem '', :git => 'git://raw.github.com/spree/spree_volume_pricing.git', :ref => 'd7cd09f4ff7ce7f33857'

2. Update your bundle by running:

$ bundle install

3. Refer to the extensions READme for further instructions:

http://github.com/spree/spree_volume_pricing