Closed (won't fix)
Project:
Ubercart Ajax Attribute Calculations
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2010 at 17:14 UTC
Updated:
7 Apr 2010 at 09:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
desh commentedI figured including an actual patch would be good style, so behold. Download it to the uc_aac folder (latest stable, uc_aac-6.x-2.0), and run
Take care
Anders Berggren
Halon Security
Comment #2
jantoine commenteddesh,
Thanks for the patch. It has been committed to the 6.x-2.x branch.
Cheers,
Antoine
Comment #3
khizerjalal commentedHI, the automatic calculation of the price works fine but along with that its creating a lot of problems. Like in my case
1) i have more then one attributes available for a product, when one attribute is selected the price changes, so far so good, but when i choose option from another attribute it cannot be selected and is automatically deselected :S
2) ajax attribute calculator is not so compatible with uc option images. since i already uses javascript/ ajax on the product page and the same is used by automatic calculation, it creates a conflict and one of them doesnt works at all .. Looking forward for reviews.
/ Khizer Jalal
Comment #4
khizerjalal commentedWorks fine, however to make it compatible with custom price module, on php version 5.3 we get another warning after making that change i.e:
"warning: Parameter 2 to uc_custom_price_cart_item() expected to be a reference, value given".
just change the function uc_custom_price_cart_item($op, &$item) on line 19 to function uc_custom_price_cart_item($op, $item)