Active
Project:
Ubercart
Version:
8.x-4.x-dev
Component:
Product kits
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2009 at 23:24 UTC
Updated:
2 Apr 2015 at 20:43 UTC
Jump to comment: Most recent
When I create a kit that morphs over time (adding new items, removing old items, changing the prices of items also present in the kit), I need to re-edit the kit each time to fix the price and not only that, I need to compute the correct total too because you only show the "current total" with the adjustments I already made. Two or three items, not too bad, 5+... wow! Loads of math here. 8-)
I have no clue how your system works, what I'd like is a way to enter 90% in the total price which would mean 90% of the total price, whatever the total currently is.
Thank you.
Alexis Wilke
Comments
Comment #1
rszrama commentedComment #2
tr commentedReasonable request, I don't know why it was postponed. uc_product_kit is already converting the kit price to a percentage discount internally, then doing all calculations with that percentage. So letting the user specify the percentage should be an easy change.
Comment #3
longwaveThis would also solve #828576: Product Kit Price and Discount Administration Overhead, closing that one as a duplicate.
Comment #4
tr commentedMoving to "Product kit" component.
Anyone want to try their hand at writing a patch for this?
Comment #5
bancarddata commentedSubscribing - I'd like to be able to use percentages in attribute options as well, if this is not also addressing that. I typically have parts that are set to the default option's price as a base, with other options being +/- that price. But I usually have a "None required" option as well, which would be nice to default to "-100%", so any price changes will always have that option equaling $0.
Comment #6
AlexisWilke commentedbancarddata,
I think you should create a separate issue for such a feature as it would be affect code in a completely different area.
Thank you.
Alexis
Comment #7
millenniumtreeComment moved to issue referenced in #8 below.
Comment #8
tr commented@millenniumtree: The topic of this issue is a feature request to support pricing discounts expressed as a percent rather than a monetary value. Any other problems with Product kits should be raised in a new issue.
I did find a small bug that was recently introduced into the Product kit module by commit 1fa876fc that makes it so you can't enter a blank value in the "Total price" field, thus preventing this form from working properly if total price isn't entered. I have opened a new issue for that problem: #1385950: uc_price doesn't work for Product kit total price field. A quick fix is to revert that commit, or you can track and contribute to that new issue to help with a proper fix. Any further discussion of this problem should be in that new issue.
The rest of your post seems to be a feature request to change the way this pricing form works. Please open a new issue if you want to pursue that. The best way to get a change like that into Ubercart is to provide a patch - that way your suggestion can be reviewed and tested by the community before being put in.
Comment #9
millenniumtreeGood to know.
I'll post on the new topic then, thanks!
Comment #10
digital fire commentedWas this issue ever resolved? I seem to be having an issue with the product kit discounts and I'm thinking it may be related to this. I will include more details once i know if this issue is unresolved.
Comment #11
tr commentedNew features need to go into 8.x-4.x first at this point, then get backported as needed.