Project:Drupal Commerce
Version:7.x-1.x-dev
Component:Price
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Is there a way to "add" the value of a user field ("markup_percentage") to a "base" price of a product? So if I have userA set to 10% and userB set to 15% and the cost of product1 set to $1.00 then userA would see it as $1.10 and userB would see it as $1.15?

Thanks.

Comments

#1

Status:active» fixed

Got this done using Workflow -> Rules and a field type of number/decimal. This may shed some light: http://www.drupalcommerce.org/node/461

#2

Glad to hear you got it working. : )

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here