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

Freeproduct campaign (SHUUP-2733) #546

Closed
wants to merge 2 commits into from
Closed

Freeproduct campaign (SHUUP-2733) #546

wants to merge 2 commits into from

Conversation

Pikkupomo
Copy link
Contributor

Add Buy X get Y campaign
Classic Gray: Hide quantity and delete with free products in basket

Refs SHUUP-2733

@Pikkupomo Pikkupomo changed the title Freeproduct campaign Freeproduct campaign (SHUUP-2733) Jun 14, 2016
@anders-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
http://spartacus.aintra:8080//job/shoop-ng-pull-requests/2014/
Test PASSed.

def get_discount_lines(self, order_source, original_lines):
lines = []
shop = order_source.shop
for product in self.products.all():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably check orderability before adding these lines.

@Pikkupomo Pikkupomo closed this Jun 14, 2016
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.

None yet

3 participants