I am using http://www.ubercart.org/forum/development/17782/handling_print_shop_cust... with uc_aac.
This module adds file upload field to attributes, no option or price changes are set with this upload field.
Price changes when:
Options are adjusted first --> browse to upload the file-->click add to cart.
Price Doesn't change when:
browse to upload the file first -->select different option--> price doesn't change --> click add to cart anyway --> address bar changes to http://www.localhost.com/drupal/uc_aac with codes below.
{ "nid": "5", "replacements": { "display": "\x3cdiv class=\"product-info product display\"\x3e\x3cspan class=\"uc-price-product uc-price-display uc-price\"\x3e$70.00\x3c/span\x3e\x3c/div\x3e", "model": "\x3cdiv class=\"product-info model\"\x3eSKU: 456\x3c/div\x3e", "cost": "\x3cdiv class=\"product-info product cost\"\x3e\x3cspan class=\"uc-price-product uc-price-cost uc-price\"\x3e\x3cspan class=\"price-prefixes\"\x3eCost: \x3c/span\x3e$0.00\x3c/span\x3e\x3c/div\x3e", "sell": "\x3cdiv class=\"product-info product sell\"\x3e\x3cspan class=\"uc-price-product uc-price-sell uc-price\"\x3e\x3cspan class=\"price-prefixes\"\x3ePrice: \x3c/span\x3e$70.00\x3c/span\x3e\x3c/div\x3e", "weight": "\x3cdiv class=\"product-info weight\"\x3eWeight: 0 lb.\x3c/div\x3e" }, "form": "\x3cform action=\"/drupal/uc_aac\" accept-charset=\"UTF-8\" method=\"post\" id=\"uc-product-add-to-cart-form-5\" enctype=\"multipart/form-data\" class=\" uc-aac-cart\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"attributes\"\x3e\x3cdiv class=\"attribute attribute-3 odd\"\x3e\x3cdiv class=\"form-item\" id=\"edit-attributes-3-wrapper\"\x3e\n \x3clabel for=\"edit-attributes-3\"\x3eColor: \x3c/label\x3e\n \x3cselect name=\"attributes[3]\" class=\"form-select\" id=\"edit-attributes-3\" \x3e\x3coption value=\"9\" selected=\"selected\"\x3eColor Front/Color Back\x3c/option\x3e\x3coption value=\"8\"\x3eColor Front/No Back\x3c/option\x3e\x3c/select\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3cdiv class=\"attribute attribute-1 even\"\x3e\x3cdiv class=\"form-item\" id=\"edit-attributes-1-wrapper\"\x3e\n \x3clabel for=\"edit-attributes-1\"\x3eCorners: \x3c/label\x3e\n \x3cselect name=\"attributes[1]\" class=\"form-select\" id=\"edit-attributes-1\" \x3e\x3coption value=\"1\" selected=\"selected\"\x3eNo Round Corners\x3c/option\x3e\x3coption value=\"2\"\x3eRound Corners\x3c/option\x3e\x3c/select\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3cdiv class=\"attribute attribute-5 odd\"\x3e\x3cdiv class=\"form-item\" id=\"edit-attributes-5-wrapper\"\x3e\n \x3clabel for=\"edit-attributes-5\"\x3eFile Upload: \x3c/label\x3e\n \x3cinput type=\"file\" name=\"files[File Upload]\" class=\"form-file\" id=\"edit-attributes-5\" size=\"20\" /\x3e\n\n\x3c/div\x3e\n\x3c/div\x3e\x3c/div\x3e\x3cinput type=\"hidden\" name=\"qty\" id=\"edit-qty\" value=\"1\" /\x3e\n\x3cspan class=\"button\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-submit-5\" value=\"Add to cart\" class=\"form-submit node-add-to-cart\" /\x3e\x3c/span\x3e\n\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-7fb500fb29ab925e4e5a28f417b5f8d6\" value=\"form-7fb500fb29ab925e4e5a28f417b5f8d6\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-uc-product-add-to-cart-form-5\" value=\"uc_product_add_to_cart_form_5\" /\x3e\n\x3cinput type=\"hidden\" name=\"aac_nid\" id=\"edit-aac-nid\" value=\"5\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n" }
Is this because uc_acc doesn't recognize file upload field?
Thank you for your help. :)