Groundwire / EventbriteSync

Salesforce.com-based tool that imports people and event registrations from Eventbrite into Salesforce.
16 stars 10 forks source link

Might want to create opps for free event tix #6

Closed groundwired closed 12 years ago

groundwired commented 12 years ago

We could add an option to create opps for free events as well as paid, esp when there are some paid tix.

This was a request from PASA, who will be one of the initial implementors.

tet3 commented 12 years ago

Yes, we're on that same bandwagon. We have many Opportunities of different types that are free for our member orgs but paid for others, and would like event registrations to work similarly.

groundwired commented 12 years ago

I added support for this to both page and controller. The new checkbox is named create-free-opps.

Matt, can you add this to the JS code? 1) Add another boolean param to your call to importAttendees - it will be the last parameter, 2) set that param to the selection in create-free-opps, 3) From the outset, set that checkbox to the value of the Create_Opps_for_Free_Tickets__c setting that I send you.

Since the original default for this option will be false, this means that you do not have to check for $0 opps anymore, because we won't do anything different with the create leads/contacts/opps button based on the existance of money in the opps. Just set this param and I will do the right thing for each opp.