You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Docs on Oscar Pricing and availability
prices.py
It looks like, out of the box, there exists the idea of FixedPrice strategies for products. I think this method should be flexible enough to support other types of pricing, but I'm not sure how to set up and configure prices in order to represent them.
Places where the abstract models refer to retail prices (not from the policy)
stored version of the price in the eventual order:
https://github.com/django-oscar/django-oscar/blob/2fb7e4b9c64f07b59a04e81bacd141d9dfb5cb77/src/oscar/apps/order/abstract_models.py
for display purposes only:
https://github.com/django-oscar/django-oscar/blob/2fb7e4b9c64f07b59a04e81bacd141d9dfb5cb77/src/oscar/apps/partner/abstract_models.py
Calculating the total cost of a basket
https://github.com/django-oscar/django-oscar/blob/2fb7e4b9c64f07b59a04e81bacd141d9dfb5cb77/src/oscar/apps/checkout/calculators.py