Closed (won't fix)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jun 2009 at 17:54 UTC
Updated:
4 Feb 2011 at 10:09 UTC
Carry around more price information and alterations to the price all the way through the shopping experience and into the database so that we can distinguish between base price, discounts, coupons, taxes, etc. for accounting purposes.
Comments
Comment #1
torgospizza(Writing down notes as we are talking about them here in Denver.)
In other words, carrying an array of alterers, including an operator and a delta, which can have additional alterers (elements in the array) to further add alterations to the price being passed in.
Find the alterers and do the alterations.
There needs to be an API function that gives that information to uc_price
Comment #2
torgospizzaclass uc_price:
getAlterers()
resetAlterers()
getPrice(revision)
Use cases for example:
Comment #3
rszrama commentedComment #4
longwaveThis is largely outdated and uc_price() likely won't change in 6.x and is gone from 7.x.