Buy 1 Get 1 Promotion

126 views
Skip to first unread message

Kiran Narasareddy

unread,
Feb 9, 2012, 4:01:35 AM2/9/12
to Spree
Guys,
We are using Spree 0.60. I would like to create a Buy 1 Get 1 Free
promotion. All our products are of the same price.
The thing is i can't apply flat 50% off the order total, as we want
the user to pay for an full item and then get 1 item free.
Any ideas how to get this done?

Stephane

unread,
Feb 9, 2012, 5:32:49 AM2/9/12
to Spree
Kiran,

I know it is possible with the promotion actions on spree 1.0.0, I am
not sure about previous version of spree.

Stephane.

On Feb 9, 10:01 am, Kiran Narasareddy <kiran.narasare...@gmail.com>
wrote:

paul damer

unread,
Feb 9, 2012, 7:53:17 PM2/9/12
to spree...@googlegroups.com
I keep meaning to gem this up but I made a buy one get one (bogo)
calculator. Here is a gist.
https://gist.github.com/1784859

You can put that under models/calculators. You'll just need to call
Calculator::Bogo.register
in lib/spree_site.rb

Then you should be able to make buy some get some promotions using
that calculator.
-Paul

> --
> You received this message because you are subscribed to the Google Groups "Spree" group.
> To post to this group, send email to spree...@googlegroups.com.
> To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
>

Kiran Narasareddy

unread,
Feb 10, 2012, 3:37:39 AM2/10/12
to spree...@googlegroups.com
Thanks Paul!

Regards,
Kiran Narasareddy
Director
Amura Marketing Technologies Pvt. Ltd.

Brian Quinn

unread,
Feb 10, 2012, 12:25:19 PM2/10/12
to spree...@googlegroups.com
Paul thank you, that's a clever calculator. I've updated it to work 1.0 here https://gist.github.com/1790882

Cool that' is supports spree_gift_card too!


--
Brian Quinn

Co-Founder, CTO
Spree Commerce, Inc.

Reply all
Reply to author
Forward
0 new messages