Want a list price for attribute

Project:Ubercart Contributions
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

My client wants to see a list price and a sell price for each attribute. He sells water filter assemblies. Each filter assembly comes with your choice of filters. You must choose a filter in order to add the item to the cart. Right now, we can only get the sell price for the assembly with the filter option. He'd like to see a list price consisting of the sum of the product base (assembly without the filter) list price and the option adder list price. Next to that, the sell price would be computed as it is now: sell price of base product plus sell price of the option.

I searched the database and found the uc_product_options table that holds the cost and price for an option. But, there is no place for an option list price. How can I add an option list price and have it displayed along with the sell price at the option radio buttons at the bottom of the product page?

Ubercart version 6.x-2.2

Thanks!

Joe

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
#1

do you need the 'cost' field? what about re-naming it 'list' ?

joeebel's picture
Offline
Joined: 09/27/2009
Juice: 55
#2

Am I able to display the cost in the option list on the product page without coding? I've attached a screen shot of our attempt to get the list price into the label field of the option. (Note the MSRP in the first option.) It's still not very pretty. We'd like to have something like "Our Price" in front of the price field and be able to theme each item separately. (We'd like to put a strikethrough on the MSRP value, e.g.)

Ideally, the option would have its own list price that would automatically be added to the base product list price for display in the option list. That's what's currently being done by Ubercart in the price field (or display price... I forget what you call it down there) of the option list.

If I need to get deeper into this, could you at least point me at the code that assembles these fields?

Thanks!

AttachmentSize
OptionListScreenShot.jpg 19.27 KB