The function is not properly attached to text field attributes. Suggest the following to fix:
jQuery.fn.ucAacAttach = function() {
$(this).find('select[name^=attributes]').change(function() {
ucAacCalculate(this);
});
$(this).find('input:radio[name^=attributes], input:checkbox[name^=attributes]').click(function() {
ucAacCalculate(this);
});
$(this).find('input:text[name^=attributes]').blur(function() {
ucAacCalculate(this);
});
}

Comments

tr’s picture

In Ubercart, textfield attributes do not affect the price. So what problem are you trying to solve?

happyloman’s picture

I use a textfield attribute for a custom product that if the textfield is not blank then the product gets an additional charge, i.e. Add custom imprinted text to your product for $10.

liminu’s picture

Related to this module http://drupal.org/project/uc_custom_price i think that is important to add this fix, i need it for my project.

griz’s picture

I have uc_aac working with uc_custom_price using a textfield, no problems. What troubles you liminu?

marcom2021’s picture

I'm also using textfields but the price is not updated. I've got a product page with a textfield and a couple of radio buttons.
The custom price module calculates the price based on what the user fills in the textfield. When you fill in the textfield the price is not updated. This only happens as soon as you selcect one of the radio buttons. How did you get it to work with textfields?