Closed (fixed)
Project:
Ubercart Ajax Attribute Calculations
Version:
5.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2008 at 20:01 UTC
Updated:
3 Nov 2008 at 13:42 UTC
I have an item that has 1 attribute that is a radio button and another attribute that is a text field. It seems that the prices first come out properly, but then switch to what each attribute would increase the base.
While I know that if the product has more then one attribute that it has to work in this manner as each attribute option may change the price of the product, it should be able to detect if the other attributes will not affect the price, like a text attribute that has no options.
should be as easy as changing the select statement looking for the number of attributes to exclude the text field type attribute.
granville
Comments
Comment #1
cyu commentedOddly enough I addressed this a couple months ago here: http://drupal.org/node/275367 but then never came back to uc_aac and applied the fix. I'll take care of that and possibly make a release if I can find any other clean-up that needs done.
Comment #2
cyu commentedIn the meantime, you could make the following replacement if you want to test this out. Support for uc_attribute_priced_attributes() is only available in Ubercart 1.1 or later.
Comment #3
cyu commentedThis is fixed in the latest dev release by commit: http://drupal.org/cvs?commit=146425
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.