Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 01:52 UTC
Updated:
9 Jun 2011 at 13:41 UTC
In building my current site (first Ubercart deployment) I found that the 3 options for attribute price display did not meet my requirements. Basically, it was either none, an adjustment to the base price or a total price. The latter 2 choices are calculated based on the adding the the adjustment to the base and then multiplying by the default add to cart quantity.
What I wanted was to display only the actual attribute price and not have it added to or multiplied by the default add to cart quantity. So, attached is are very simple patches to the attribute module to add a "Display attribute price" option.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_attribute.module.patch | 757 bytes | fred0 | |
| uc_attribute.admin_.inc_.patch | 538 bytes | fred0 |
Comments
Comment #1
splash112 commentedAlso see:
http://drupal.org/node/590918
Comment #2
fred0 commentedUpdating version to match current release. Patch still valid for current release. I believe that this is a simpler and more elegant solution that the issue/patch mentioned in comment #1.
Would really like to see this added for next release.
Comment #3
splash112 commentedHi Fred,
Indeed a nice feature.
You patch is indeed a little shorter, but lacks a little functionality.
My patch in the first comment will generate both the total price and the attribute price for 1 piece.
Sadly no reaction from the core contributers so far, so we might end up using a simple contrib for this functionality.
Comment #4
bhallnc commentedThis worked perfectly for me. Thanks for the patch.
Comment #5
longwaveDuplicate of #590918: Give users more choice for displaying attribute price format