Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

fixes auto discount and discount msg if discount not available #98

Closed
wants to merge 1 commit into from

Conversation

sdragnev
Copy link
Contributor

@sdragnev sdragnev commented May 6, 2015

fixes #94 and #97

Not sure if this is correct. I've removed the "!empty($code)" check on 371.
We don't have a code if there's an automatic discount so $applyToAllLineItems would never get set.

It seems to work now both with and without a code (auto discount) but there may be more to it that I'm not aware of.

Sorry about one PR for two issues but one needs the other to work.

@bdombro
Copy link

bdombro commented May 15, 2015

This fix worked for me, thanks!

@monishdeb
Copy link
Member

Closed in favor of #120 as current PR gone stale.

@monishdeb monishdeb closed this Aug 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3.0 not working for automatic event discounts based on membership
3 participants