Custom Condition with Range

27 views
Skip to first unread message

John P

unread,
Mar 19, 2015, 10:00:26 AM3/19/15
to django...@googlegroups.com
I'm trying to build a custom Condition that uses Range.

I tried following the instructions here: http://django-oscar.readthedocs.org/en/latest/howto/how_to_create_a_custom_condition.html
But when I go to /dashboard/offers/3/condition/
It shows the custom condition, but there's no way for me to specify range.

What's the best way to go about creating a condition like this?

Thanks,

John

John P

unread,
Mar 19, 2015, 10:09:50 AM3/19/15
to django...@googlegroups.com
I tried inserting another Condition using: /admin/offer/condition/add/

I thought I could manually add a second condition with the same Custom class, but a different range, but I got the following error:
  • Condition with this Custom class already exists.
Reply all
Reply to author
Forward
0 new messages