Closed (fixed)
Project:
Signup Integration for Ubercart
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2011 at 15:52 UTC
Updated:
12 Jul 2011 at 14:41 UTC
I have two node types on my site that accept signups. One for "purchasable" signups (i.e. uc_signup), and one for non-purchasable. I just updated to dev yesterday to deal with the duplicated signup fieldset/uc_signup button, which worked great, but then the signup fieldset disappeared on all of our non-product nodes that have signups enabled.
Pretty simple fix, just check in the uc_signup_signup_suppress function to see if the node being tested is actually a product. If it's not, uc_signup should leave it alone, by definition.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_signup_node_test.patch | 625 bytes | stockliasteroid |
Comments
Comment #1
ezra-g commentedGreat point, thanks.
There's one other place where we need to need to change the logic, so I made this change and also clarified the text for the setting that's now called, "'Skip checkout for free signup-enabled *products*" rather than *events*.
Committed. Thanks!
Comment #2
ezra-g commentedhttp://drupalcode.org/project/uc_signup.git/commitdiff/3952e91?hp=7d7803...
Comment #3
stockliasteroid commentedGreat, thanks! One less patch to maintain on my site :).