Discounts are removed from cart on checkout page. Discounts are also removed when the cart is refreshed or when loading the cart view for a second time. This is an unexpected bug on my part as this was not initially a problem when testing discounts on products.
Also upon further testing the discount amount for a single product the applied discount would numerically vary. Such that i was getting huge negative numbers. This is my drush module info output for commerce discount.
Extension: commerce_discount
Project: commerce_discount
Type: module
Title: Commerce Discount
Description Provides common functionality and a UI for managing discounts.
Version: 7.x-1.0-alpha4
Date: 2014-07-18
Package: Commerce (contrib)
Core: 7.x
PHP: 5.2.4
Status: enabled
Path: sites/all/modules/commerce_discount
Schema: 7104
version
Files: commerce_discount.info.inc, includes/commerce_discount.admin.inc,
includes/commerce_discount.class.inc, includes/commerce_discount_offer.class.inc,
includes/commerce_discount_offer.inline_entity_form.inc,
includes/commerce_discount.controller.inc,
includes/views/commerce_discount.views.inc,
includes/views/handlers/commerce_discount_handler_field_operations_dropbutton.inc,
commerce_discount.test
Requires: number, commerce, commerce_price, commerce_line_item, commerce_product_reference,
entity, entityreference, inline_entity_form (>=1.5), views, inline_conditions
Required by: commerce_discount_date, commerce_discount_usage
Permissions: administer commerce discounts
Configure: None
I think status on this bug should be labelled critical because until this is fixed the module is not usable on a production system.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #2
keith@awardsunlimited.ca CreditAttribution: keith@awardsunlimited.ca commentedI just discovered the same issue. This is a new issue as my site has been working fine. It started having this problem somewhere between mid January and mid February. I assume that there is an update that created the problem. Unfortunately I didn't discover it on the test site before I updated the main site.
Keith
awardsunlimited.ca
Comment #3
TrevorBradley CreditAttribution: TrevorBradley commentedRelated to 2328357? I may have just found the solution. Possibly introduced with the Drupal Commerce 7.11 upgrade in January. Check the other thread for info.
Comment #4
bojanz CreditAttribution: bojanz commentedYou're probably using the broken Rules 2.8 release (which the Commerce 1.11 release notes told you not to do).
Please confirm.
Comment #5
TrevorBradley CreditAttribution: TrevorBradley commentedFrom my assessment, there are two independent problems here... one is Rules 2.8 removes discounts at the final checkout stage. However, there's another parallel problem - Somehow the cart view also is eating the discount and discarding it, regardless of which version of Rules is being used. The view doesn't display the discount, and when the form is submitted to go to the final checkout stage, it's assumed to be removed in the form submission stage.
I'm assuming this is because the (new?) view excludes discounts from being displayed as a filter.
Without both the cart view altered and Rules 2.7/2.x-dev applied, I can't get order discount to work.
Comment #6
loool CreditAttribution: loool commentedsame issue
Comment #7
joelpittetStill an issue on latest -dev?
Comment #8
joelpittetTriage closing due to lack of response.