Ubercart Ajax change attributes on checkout I want to change the Product Attributes on checkout page by ajax. But when I save it by uc_order_product_save() in my ajax request and go to the preview step the attributes are gone.

It seems that preview step retrives the $order from form storage but not mine saved order. It is here:

function uc_cart_checkout_form_validate($form, &amp;$form_state) {
$order = $form_state['storage']['order'];


How can I access to the storage order object in form to save attributes?

Thanks.
This may not be the best/proper way to do it, but I have manipulated product attributes in 

function uc_cart_view_form($form, &amp;$form_state, $items = NULL)

it is located in uc_cart.module

$items is filled with products and you can loop through and review/assign attributes.