Support

Home Forums Event Espresso Premium Creating product in infusionsoft before first sale?

Creating product in infusionsoft before first sale?

Posted: September 18, 2014 at 11:27 pm

Viewing 3 reply threads


Kurt Black

September 18, 2014 at 11:27 pm

Is there a way to determine the product name that will be pushed to infusionsoft AFTER I have created the event, but BEFORE the first sale? I need to set up a campaign in infusionsoft to be triggered by the purchase, but the campaigns are product specific. so I need to have the product and the campaign set up in infusionsoft prior to someone registering.

Can anyone advise on how to do this? I see that the product is automatically created in infusionsoft with the first registration, but I need to set up the product and the corresponding campaign prior to the first registration, and then let the first purchase trigger the campaign.

Thank you for any assistance.

Kurt


Sidney Harrell

September 19, 2014 at 12:22 pm

Are you using EE3 or EE4?
Can you do a test registration on the event and then delete the registrant from EE and IS? It should leave the product in IS if you do.
I can point you to the code block in EE3 that creates the product, and it could be adapted to run outside the registration process. EE4 is a little different, though, so I’d have to dig into it a little bit to find it.


Kurt Black

September 19, 2014 at 2:34 pm

Hi Sidney,

We’re using EE3 right now because of the infusionsoft add-on we needed.

I had thought about doing a test event to push the product over, but the problem is that we will be offering many (thousands) of webinars a year and having to do this manual step every time would be an extra task. however, if that’s the best way, we will make it part of the process.

Yes, if you could point me to the code block, that would be good. Does the product code that gets created and sent to infusionsoft have a formula to it that I can predict based on event name, event date, etc, or is it more random naming scheme?

Thanks,
Kurt


Sidney Harrell

September 22, 2014 at 1:47 pm

The product data is in plugins/espresso-infusionsoft/index.php line 183.
Although, our development branch makes some changes for some corner-case bugs:

'ProductName'=>htmlentities(wp_strip_all_tags($event_data->event_name)."@".$attendee_data['orig_price']),
		'Sku'=>"event-".$event_data->event_code,
		'ProductPrice'=>$attendee_data['orig_price'],
		'Description'=>  str_replace("\r", "", wp_strip_all_tags($event_data->event_desc)),
		'HideInStore'=>0,
		'Status'=>1
Viewing 3 reply threads

The support post ‘Creating product in infusionsoft before first sale?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso