Posted: October 4, 2018 at 5:22 pm
Hi, We are using EEV4, and when submitting a promo code nothing is happening to the pricing. The promo code is active and set to the event we are wanting it used on. Here is a screen capture. Thanks, Mike |
|
Hi Mike, The Promo code input relies on JavaScript to submit the code & process the discount. I checked your site and there’s a JavaScript error from the theme. A JavaScript error will have the effect of stopping all other JavaScript on the same page. Here’s a screenshot of the console that shows the JavaScript error from your site: https://slack-files.com/T02SY781D-FD7JR5S83-2c31b78d3c It turns out something similar was posted in another topic earlier this week, and the solution was to update the theme. They also use the X-Theme with the Cornerstone plugin, and Cornerstone was on the current version but the X-Theme needed to be updated. Can you check to see if there’s an update for Cornerstone and/or the X-Theme? |
|
Thanks Josh. I’ve updated ThemeX and it is now working. However, when the registration is finalised, and I’m using a promo code that discounts by 100%, it is not adding the tag to the contact record in Infusionsoft. The Infusionsoft integration plugins appear to the most recent version. Is there an issue with tags not being added through this process? Thanks, Mike |
|
PS. The event I tested registering where the tag wasn’t applied is Thanks, Mike |
|
Hi Mike, I checked and I’m not seeing any issues with tags not being added when a 100% discount is applied at checkout. Here’s a screenshot that show the results of a quick test from my development server: https://slack-files.com/T02SY781D-FD7TR1K1S-132d91a9d0 You could doublecheck the event editor for that event and make sure the tag is selected in the Infusionsoft Tags metabox. If it is selected, can you check to see if there is any custom code on that site that would affect the Infusionsoft add-on? |
|
Hi Josh, Yes the Infusionsoft tag ID is definitely in the Event. There haven’t been any changes to the site, so nothing that has been added that should stop that, that I’m aware of. Thanks Mike |
|
One way to be sure would be to temporarily deactivate any plugins that contain custom code, then try testing a registration with a 100% discount. |
|
Hi Josh, I have a custom plugin (that uses script that EE recommends and is the help documentation) that passes some information to Infusionsoft, and while that’s not been an issue in the past, looks like with the update of the EE Infusionsoft Integration plugin, this is now causing the tag to not be applied when my custom plugin is active. How am I going to figure out what has changed? THanks, Mike |
|
You may not need that code anymore since the newer Infusionsoft add-on has a UI for assigning tags to events, but maybe you can clarify by posting the code to a PasteBin or gist, then link to that code here. |
|
PS Here is the code in my plugins “<?php //get the last answer this attendee provided to the question with admin label ‘company’ //get the last answer this attendee provided to the question wtih admin label ‘jobtitle’ /** //mark product as country taxable only if its taxable normally, probably more useful /** function ee_infusionsoft_pass_event_start_and_name( $is_contact_data, $ee_attendee ) { /* Stop Adding Functions */” |
|
Hi Mike, Can you find out which one of those scripts is affecting the tags to not get passed? |
|
Hi Josh, Just had a look at the UI for the plugin and I can see that I can remove some of the scripts of the custom plugin, as it is now handled by the new EE IS integration plugin. Thanks, Mike |
|
That’s correct, and you’ll find more details about how to use the new features in this part of the documentation: https://eventespresso.com/wiki/infusionsoft-integration/#ee4customizations |
|
Hi Josh, I’ve had a look at the new EE IS plugin and the custom question UI only apply to Custom Fields. As I run business events, my custom questions are for Company Name, Mobile, Job title. None of these are in the drop down fields to choose from. The second item is that my plugin marks the product as taxable in Infusionsoft so that it calculates net of Good and Services Tax correct. Lastly it pulls through the Event Start Date and Event Name from EE into Infusionsoft into a custom field. I can’t see how the new EE Infusionsoft integration and the new UI actually allows me to do any of these. SO my plugin and the three scripts in it are still necessary. Any thought? Thanks, Mike |
|
You add those fields on your IS account, and they’ll show up in the drop down fields to choose from. You could start with removing that first script (and add the fields then use the UI). Then that might allow for the tags to get passed correctly, because the other two scripts shouldn’t affect tagging. |
|
Hi Josh, If you add the fields Company Name, Mobile, and Job Title as custom fields in Infusionsoft. I don’t want to do that, as these fields already exist as standard contact fields in Infusionsoft, and it’s these fields I’m wanting to have updated using the Custom Questions I have on the registration form. Why is it that only custom show in the UI? It would great if the IS Contact Fields show in the drop down and can be mapped to, which is what my script does. Thanks, Mike |
|
Hi Mike, I’m afraid I do not have an answer for your question, other than they just did not add that feature. Which they could one day. In any case, we’ve tested the custom code you’ve posted here and have verified that it doesn’t cause any issues with conditional tags not getting synced when there’s a 100% promo code applied. Earlier in this reply, you mentioned that the other plugin was now causing the tag to not be applied when it was active. May I ask does the tag get applied when the plugin is active and no promo codes entered? |
|
Hi Josh, I’ll just do another test and screen capture, and let you know if the issue is still persisting. Thanks, Mike |
|
The support post ‘Promo Code Plugin’ 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.