Closed (fixed)
Project:
UC Upsell
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2009 at 23:37 UTC
Updated:
14 Jan 2010 at 05:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
grendzy commentedComment #2
torgospizzaCool, thanks for the patch. I'll review ASAP.
Comment #3
torgospizzaLooks good, committing to Dev. Will be in the next release of 1.x and will roll into 2.0 as well. (Right now they are the same code...)
Comment #4
grendzy commentedwhoops, I left a @TODO in that patch, the form key uc_product_add_to_cart_form_N is only for "add to cart" button. I haven't tried it, but I assume the same issue would manifest if using a "buy now" button. Should be a quick adjustment, just adding an extra condition to the if statement.
Thanks for committing this!
Comment #5
torgospizzaYeah, it's a minor edit, just added an OR condition to look for strpos of uc_catalog_buy_it_now_form_ (instead of add_to_cart_form_).. seems to work :)
Comment #6
torgospizzaHere's a patch against the latest Dev. (It replaces your patch.)
Comment #7
grendzy commentedI haven't tried it, but that looks right.
Comment #8
torgospizzaCommitted to CVS.