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.

Comments

splash112’s picture

fred0’s picture

Version: 6.x-2.0-rc7 » 6.x-2.2

Updating 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.

splash112’s picture

Hi 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.

bhallnc’s picture

This worked perfectly for me. Thanks for the patch.

longwave’s picture

Status: Active » Closed (duplicate)