Create products with dynamic prices

89 views
Skip to first unread message

Hosein Ramezanpoor

unread,
Mar 21, 2021, 5:32:14 AM3/21/21
to django...@googlegroups.com
Hello

I'm using django oscar for a while and for specific project I need to provide an option for customers to choose the price of the product. The price is dynamic and each product has only min_price and max_price attributes. For example consider gift cards which first customer can buy 12.5$ and second can enter 20$ and purchase.

How can I implement this?
Do you guys have any idea?


Regards.


solari...@gmail.com

unread,
Mar 23, 2021, 8:27:19 AM3/23/21
to django-oscar
This is possible with Oscar, but (currently) requires some customisation of the default behaviour. One approach to do this with has been outlined here: https://github.com/django-oscar/django-oscar/issues/1515#issuecomment-74915177 . It does require becoming familiar with the models and application logic used in the order, partner and checkout apps to do these overrides.

(I know you'd probably like a lot more detail than that - I don't have the time right now to provide it, but hoping this gives you an idea of the direction you might take).

Cheers,

Samir


Reply all
Reply to author
Forward
0 new messages