Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's possible to configure attributes price of Ubercart, increase or decrease in a certain percentage of the product price.
For example:
Product price: 20€
Attributes:
-registered: -10%
-no registered: equal
Product price for registered: 18€
Product price for non registered: 20€
Comments
Comment #1
TR CreditAttribution: TR commentedWe're putting new features like this into 7.x-3.x first, then backporting if necessary.
Comment #2
laraz CreditAttribution: laraz commentedand for ubercart 6.x-2.7? I needed.
thanks.
Comment #3
iwant2fly CreditAttribution: iwant2fly commentedJust curious if this has been done, and if so how do I go about using this functionality?
Comment #4
humansky CreditAttribution: humansky commentedI think this would be a great feature as well. What is the status? Can I contribute in any way?
Comment #5
DanZ CreditAttribution: DanZ commentedYes! Contributions are greatly appreciated.
If you can write the code to do this, put the change into a patch and post it here.
Comment #6
PoidsTotal CreditAttribution: PoidsTotal commentedThis is a feature I would love too.
edited by silverwing - removed link. Adding links that are not relevant to the issue are not appropriate on issue comments and are generally regarded as spam
Comment #7
scotwith1they TR, is this something that has been added to 7.x-dev or just being considered?
Comment #8
TR CreditAttribution: TR commentedIt's a feature request from a user. It sounds like a good idea to me, but no one has implemented it yet. If someone wants to do the work and provide a patch + tests, or pay a developer to do the work, this can be added immediately. It's unlikely I will spending my own time to do this, as I have limited time to volunteer and it's not something that I need.
Comment #9
scotwith1tIt dawned on me that UC Price Per Role already does something very similar. Granted it's not by a %, but you can still set the price per role and also per-role price adjustments per attribute option. Maybe that will help someone. Wish I had the chops to pull off what you're really asking for here, but alas...
Comment #10
TR CreditAttribution: TR commentedComment #11
mywebmasteruk CreditAttribution: mywebmasteruk commentedI would really like to see this feature. I am not a programmer but if someone can point me on the right direction, this would be great.
I previously tried to apply the patch by The Sandman here: http://www.ubercart.org/forum/support/5374/attributes_change_price_percent
but it didnt work, I think because its for drupal 6...
Any help will be great!
Thanks in Advance
Drupal: 7-4.1
Webform: 7.x-4.12
Ubercart: 7.x-3.8
Ubercart/webform intg: 7.x-3.0