Index: uc_aac.module
===================================================================
--- uc_aac.module	(revision 27)
+++ uc_aac.module	(working copy)
@@ -101,8 +101,16 @@
    * divs as 'node-$nid'.
    */
 
+  $context = array(
+    'revision' => 'formatted',
+    'location' => 'node:'. $nid,
+    'subject' => array(
+      'node' => node_load($nid),
+    ),
+  );
+
   return '
-    var replace_price_'. $nid .' = "'. uc_currency_format($price) .'";
+    var replace_price_'. $nid .' = "'. uc_price($price, $context) .'";
     var aac_'. $nid .'_update = 0;
 
     /**
@@ -242,6 +250,16 @@
   $field_values = $_POST;
   $nid = $field_values['uc_aac_nid'];
   $base_price = db_result(db_query('SELECT sell_price FROM {uc_products} WHERE nid=%d AND vid=(SELECT vid FROM {node} WHERE nid=%d)', $nid, $nid));
+  
+  $context = array(
+    'revision' => 'original',
+    'location' => 'node:'. $nid,
+    'subject' => array(
+      'node' => node_load($nid),
+    ),
+  );
+
+  $base_price = uc_price($base_price, $context);
   $updated_price = $base_price;
   $attributes = $field_values['attributes'];
   $types = array(0 => "text", 1 => "select", 2 => "radio");
@@ -275,7 +293,12 @@
       $output['attributes'][] = array('name' => 'attributes['. $aid .']', 'type' => $types[$display], 'options' => $attribute_options);
     }
   }
-  $output['updated_price'] = uc_currency_format($updated_price);
+
+  // Update context
+  $context['revision'] = 'formatted';
+  $context['subject']['node']->sell_price = $updated_price;
+
+  $output['updated_price'] = uc_price($updated_price, $context);
   drupal_json($output);
   exit();
 }
