Support

Home Forums Event Espresso Premium Event Espresso is creating multiple Infusionsoft products of the same event

Event Espresso is creating multiple Infusionsoft products of the same event

Posted: November 1, 2013 at 11:49 am


Troy Timmer

November 1, 2013 at 11:49 am

Event Espresso is creating multiple Infusionsoft products for the same event. I have set up an event with two recurring events with 5 promo codes for each event. EE has set up 49 different products in Infusionsoft, 34 that have the same event identifier and the original price, 6 with this same event identifier and a different price, then 9 with a different event identifier and the same original price. I don’t see any products with the reduced price based on the promo codes. These promo codes reduce the cost by a fixed amount.

WordPress Version:
3.7
PHP Version:
5.3.19
MySQL Version:
5.1.66
Event Espresso Version:
3.1.34.P
WordPress Address (URL):
http://events.contractors.net
WordPress Content Directory:
/hsphere/local/home/ccnadmin/events.contractors.net/wp-content
Site address (URL):
http://events.contractors.net
Event Espresso Plugin URL:
http://events.contractors.net/wp-content/plugins/event-espresso/
Event Espresso Plugin Path:
/hsphere/local/home/ccnadmin/events.contractors.net/wp-content/plugins/event-espresso/
Event Espresso Upload URL:
http://events.contractors.net/wp-content/uploads/espresso/
Event Espresso Upload Path:
/hsphere/local/home/ccnadmin/events.contractors.net/wp-content/uploads/espresso/
Event Espresso Template Path:
/hsphere/local/home/ccnadmin/events.contractors.net/wp-content/uploads/espresso/templates/
Event Espresso Gateway Path:
/hsphere/local/home/ccnadmin/events.contractors.net/wp-content/uploads/espresso/gateways/


Sidney Harrell

November 1, 2013 at 1:45 pm

From what I can see in the code, it does a query of infusionsoft first to see if there already exists an event with this same information:

$event_product_data = array(
		'ProductName'=>$event_data->event_name."@".$attendee_data['orig_price'],
		'Sku'=>"event-".$event_data->event_code,
		'ProductPrice'=>$attendee_data['orig_price'],
		'Description'=>$event_data->event_desc,
		'HideInStore'=>0,
		'Status'=>1
	);

Can you check two of the duplicate products and see if they have the same information in those fields?


Troy Timmer

November 1, 2013 at 2:55 pm

They do, in fact I have 34 products that are exactly the same, same price and sku#. Would recurring events set up the same product with the same price and sku?


Troy Timmer

November 1, 2013 at 3:02 pm

<p>

</p>


Troy Timmer

November 1, 2013 at 3:03 pm

<pre class=”brush: html; gutter: true; first-line: 1; highlight: []; html-script: false”><p>

</p>


Troy Timmer

November 1, 2013 at 3:07 pm

If they are the same product can I delete them from Infusionsoft?


Josh

  • Support Staff

November 1, 2013 at 3:23 pm

The Skus should each be different in this case – although slightly different if they are all in one series of recurring events. Event Espresso / Infusionsoft will create one product for each event. Each recurring event is actually a separate event, but they’re grouped into a series of events.

If you intend on people registering for once for in order to attend all the events then you will only need to set up one event/ one product.


Sidney Harrell

November 1, 2013 at 3:36 pm

Whether it’s a recurring event or not shouldn’t matter. Before you delete them, you might want to check if the attendee data added to infusionsoft contains a reference to them. We first check whether the product already exists, if it doesn’t, add it, then we add an order for an item of that product. It sounds like the query to check whether the item already exists is failing. I’m not sure there is a lot we can do from our end, it sounds like the infusionsoft server is not returning the product when we query for it.


Troy Timmer

November 1, 2013 at 3:39 pm

In this case there is three separate dates for the same event and I actual have another sku for this event that created 9 products with the same information. Refer to my original message.

What we have is the same training that will be held next week and then twice in 2014. Most of the time our customers will register for one training at a time, but I wanted all three trainings to be listed to give people the option of signing up for more than one at a time.

I still don’t know why EE created multiple products for two of the three events. Did I do something wrong when I set up the event or is there something wrong with the way EE talks to Infusionsoft?


Troy Timmer

November 1, 2013 at 4:00 pm

I also have another event that I created and there is not product created in Infusionsoft for this event?


Sidney Harrell

November 1, 2013 at 4:34 pm

EE creates the product when the user signs up for the event, not when the event is created. But first it asks infusionsoft, “Does this product already exist?” The problem seems to be that infusionsoft is answering, “No, that product does not exist.”, when in fact the product already does exist.


Troy Timmer

November 1, 2013 at 4:45 pm

Ok, so what do you suggest i do to fix this issue?


Sidney Harrell

November 5, 2013 at 12:18 pm

Can you check which version of the IS EE add-on you are using? 1.1-BETA or 1.1?


Troy Timmer

November 6, 2013 at 9:39 am

1.1


Sidney Harrell

November 6, 2013 at 1:29 pm

I’ve tried every way I can think of to duplicate the problem, and I can’t get it to make a duplicate product. I can see in our infusionsoft product history that it was making duplicate products in the past, but I can’t get it to do it with the current version. Is this something you can reproduce currently?


Troy Timmer

November 6, 2013 at 1:53 pm

I just registered for our upcoming conference and it created a new product in IS with the exact information, including Sku number, as two other products that had already been created in Infusionsoft.


Sidney Harrell

November 7, 2013 at 10:58 am

Would it be possible for me to get access to the site to do some troubleshooting? Like I said, I can’t reproduce it, so figuring it out on your site might be the path of least resistance. Can you fill out the form here, and please fill out the ftp information since that will be crucial.


Troy Timmer

November 12, 2013 at 9:28 am

I checked Infusionsoft and there is only one product for the test event that Sidney set up. However 6 products set up for the 2014 Winter Conference event and they all have the same Sku number. We recently had 5 CCN members register for the conference and 5 of these 6 products were added in the last week, all with the same product number and Sku.


Sidney Harrell

November 12, 2013 at 2:56 pm

I think I have it figured out. I did a test registration on that event with some debugging code added, and it was creating a new product with each new registration. The debugging code showed the html in the event description, which is why it didn’t happen with my test event. I changed line 169 of espresso-infusionsoft/index.php to be:

'Description'=>wp_strip_all_tags($event_data->event_desc),

and it looks like it worked. The first time through, it created a new product, as the event description was different. But the second time through, it saw the existing product, and didn’t create another one. Go ahead and test it out, and we’ll add this fix to the next release of the IS add-on.

The support post ‘Event Espresso is creating multiple Infusionsoft products of the same event’ 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