Hi folks,first I have to say that django-oscar is an excellent piece of OSS (code wise and especially documentation wise). So thank your for that! So far I've managed to achieve everything I wanted.But right now I have a requirement where I don't see how it would be build with oscar.A little background: Our client is a reseller of special cosmetics. You cold say they're B2B reseller because they only sell to cosmetic studios.So for almost every product there are three variants (resale, cabinet and big pack).When a customer buys at least 6 pieces of the resale variants, they offer a special price, let's name it the Six Pack Price :)
How would you approach this requirement. Is that already covered somehow in oscar? I read through the offers app but it didn't click for my situation.One alternative would be to add a new price field to the stock record class and add a strategy for the custom pricing based on the amount of items in the basket.Thanks in advance for your ideas.Cheers from Berlin,norman
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/4a6e61c3-fa07-44c4-8815-6648658a2dc8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
But right now I have a requirement where I don't see how it would be build with oscar.A little background: Our client is a reseller of special cosmetics. You cold say they're B2B reseller because they only sell to cosmetic studios.So for almost every product there are three variants (resale, cabinet and big pack).When a customer buys at least 6 pieces of the resale variants, they offer a special price, let's name it the Six Pack Price :)To clarify: if your resale products cost €10 each, then does buying at least 6 lead to a cheaper base price (eg €8). So 5 units would cost €50 but 6 would cost €48?
It sounds like it could be handled using the existing offers functionality. You would need to
- create a range that includes all the resale products, then
- create a condition that requires the customer to buy at least 6 of them (a "count" condition with value 6 using the resale product range)
- create a percentage discount incentive that applies to the same range and gives the appropriate % off.
Let me know if that works.
Hey David,But right now I have a requirement where I don't see how it would be build with oscar.A little background: Our client is a reseller of special cosmetics. You cold say they're B2B reseller because they only sell to cosmetic studios.So for almost every product there are three variants (resale, cabinet and big pack).When a customer buys at least 6 pieces of the resale variants, they offer a special price, let's name it the Six Pack Price :)To clarify: if your resale products cost €10 each, then does buying at least 6 lead to a cheaper base price (eg €8). So 5 units would cost €50 but 6 would cost €48?yes that would be the case. But each resale product does have its own special price. Would your solution work with the different prices?
It sounds like it could be handled using the existing offers functionality. You would need to
- create a range that includes all the resale products, then
- create a condition that requires the customer to buy at least 6 of them (a "count" condition with value 6 using the resale product range)
- create a percentage discount incentive that applies to the same range and gives the appropriate % off.
Let me know if that works.I tried that but i got an error after submitting step one in the creation of an offer:<ConditionalOffer: special> is not JSON serializableIt's happening here:File "venv/lib/python2.7/site-packages/oscar/apps/dashboard/offers/views.py", line 190, in form_validself._store_object(form)File "venv/lib/python2.7/site-packages/oscar/apps/dashboard/offers/views.py", line 128, in _store_objectself.request.session.save()Any clues - haven't looked it for now.
Thanks!norman
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/CAEBC%2Bt6P2GiUqssd2U5xc4L93jjvT1_ZUSfEJ940QvixM6u%2Bcg%40mail.gmail.com.
On 12 November 2013 16:33, Norman Rosner <nor...@1kdims.com> wrote:
Hey David,But right now I have a requirement where I don't see how it would be build with oscar.A little background: Our client is a reseller of special cosmetics. You cold say they're B2B reseller because they only sell to cosmetic studios.So for almost every product there are three variants (resale, cabinet and big pack).When a customer buys at least 6 pieces of the resale variants, they offer a special price, let's name it the Six Pack Price :)To clarify: if your resale products cost €10 each, then does buying at least 6 lead to a cheaper base price (eg €8). So 5 units would cost €50 but 6 would cost €48?yes that would be the case. But each resale product does have its own special price. Would your solution work with the different prices?Yes, a % discount would work with any price.
It sounds like it could be handled using the existing offers functionality. You would need to
- create a range that includes all the resale products, then
- create a condition that requires the customer to buy at least 6 of them (a "count" condition with value 6 using the resale product range)
- create a percentage discount incentive that applies to the same range and gives the appropriate % off.
Let me know if that works.I tried that but i got an error after submitting step one in the creation of an offer:<ConditionalOffer: special> is not JSON serializableIt's happening here:File "venv/lib/python2.7/site-packages/oscar/apps/dashboard/offers/views.py", line 190, in form_validself._store_object(form)File "venv/lib/python2.7/site-packages/oscar/apps/dashboard/offers/views.py", line 128, in _store_objectself.request.session.save()Any clues - haven't looked it for now.That's a known Django 1.6 thing which I need to fix. Should be done soon.
Thanks!normanTo view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/CAEBC%2Bt6P2GiUqssd2U5xc4L93jjvT1_ZUSfEJ940QvixM6u%2Bcg%40mail.gmail.com.--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.--David Winterbottom
Technical Director
Tangent Labs
84-86 Great Portland Street
London W1W 7NR
England, UK
You received this message because you are subscribed to a topic in the Google Groups "django-oscar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-oscar/qHG7Joe3HrQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-oscar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/CAA0jhkoTkTCy_4TwGJD3ysjU4vyeZqDLcc6uLEYMQtKVGx9iLg%40mail.gmail.com.
Norman Rosner | CEO | 1kdims UG (haftungsbeschränkt) | Warschauer Str. 24 | 10243 Berlin | +49 151 423 22 016 | Amtsgericht Berlin-Charlottenburg / HRB 140253 B
Again need for clarification: The majority of prices would have a different discount %. Would that work as well?
I'm on 1.5.5 right now, if that helps.
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to a topic in the Google Groups "django-oscar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-oscar/qHG7Joe3HrQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/f6343b14-ef3f-4810-af97-8bc8c0873891%40googlegroups.com.