#5393 (PriceRule in pronto)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Justification, a product with the same name may come from different manufacturer. In which case the prices for the product also varies.
Children
Comments
- 2 years, 8 months ago by Sharif Mehedi about #5393 (PriceRule in pronto) : I will remove the PriceRules from pronto and then will have a new model PartnerPrice. I will also have another ForeignKey as Product.partner which will point to the manufacturer of the product.
- 2 years, 9 months ago by Sharif Mehedi about #5393 (PriceRule in pronto) : I just adapted the test suite.
- 2 years, 9 months ago by Luc Saffre about #5393 (PriceRule in pronto) : @8lurry presto test suite is failing because of your change DeliveryUnits
- 2 years, 9 months ago by Sharif Mehedi about #5393 (PriceRule in pronto) : Naah! There are more complexities to it. @luc , it was stupid of me to take it up from you yesterday. I would like to have another jitsi session about it with you.
- 2 years, 9 months ago by Sharif Mehedi about #5393 (PriceRule in pronto) : I could NOT yet find a way with PriceRule & PriceFactors to solve my problem.
- 2 years, 9 months ago by Luc Saffre about #5393 (PriceRule in pronto) : We actually already have this model. PriceRule and PriceFactors. Define a Price factor with field_name = "id". See Product.get_ruled_price()
- 2 years, 9 months ago by Luc Saffre about #5393 (PriceRule in pronto) : I believe that we actually want to introduce a new model PartnerPrice with fields (partner, product, trade_type, price).
- 2 years, 9 months ago by Sharif Mehedi about #5393 (PriceRule in pronto) : Created new Ticket #5393 (Add Product.vendor field).