Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Per-line-item action in Spree not taking quantity into account #7

Open
wants to merge 73 commits into
base: master
Choose a base branch
from

Conversation

ibagmet
Copy link

@ibagmet ibagmet commented Nov 25, 2015

No description provided.

ericsaupe and others added 30 commits October 6, 2014 09:39
	modified:   app/views/spree/shared/_original_price_display_item_added.html.erb
	modified:   app/helpers/spree/products_helper_decorator.rb
…the function of this plugin that has diverged in the community a fair bit.

This commit incorporates work that allows the plugin to function properly for sale items.

The major issue is that Variants were not correctly announcing themselves as on_sale?=true

When the 'price' was being copied to a line item it was always copied as a the full item price because on_sale? would always report false.

This set of fixes allows the variant to correctly report its status.
Big ole stinking hacky fix of a merge of open source work to improve the...
Fix show percentage savings on cart page
…al price line-through

	modified:   app/overrides/add_original_price_to_products_index.rb
	modified:   app/views/spree/shared/_original_price_display.html.erb
	modified:   app/views/spree/shared/_original_price_display_item_added.html.erb
	modified:   app/views/spree/shared/_original_price_display_variant.html.erb
	modified:   spree_sale_pricing.gemspec
…g-with-multiple-variants

Add original price override to variant-listing
	new file:   app/overrides/add_original_price_to_variant_options.rb
	new file:   app/views/spree/shared/_original_price_display_variant_options.html.erb
	modified:   app/views/spree/shared/_original_price_display_variant_options.html.erb
	modified:   spree_sale_pricing.gemspec
ericsaupe and others added 30 commits March 4, 2015 10:04
Added hook after sale is created or deleted to update product
Readded original_price_display_variant
Add sale pricing to detailed spotlight
Use lowest price rather than last created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants