Support

Home Forums Event Espresso Premium EE3 PROMO CODES NOT DISCOUNTING

EE3 PROMO CODES NOT DISCOUNTING

Posted: December 20, 2016 at 3:30 am


wayne

December 20, 2016 at 3:30 am

Hi all
It seems when typing in a correct promocode it is not discounting the final bill in the payment overview. I have updated some templates however this is visual and have not removed any code. I assume the total cost variable automatically updates when a code is entered. I would also expect that the cost is deducted before the paypal btn in the overview page. (there is no hint on whether the code has worked or not) I have recently added ssl, so am worried if there is some js cross domain policy issue but cant confirm if it has ever worked.

We have a flat rate discount which is not global and assigned via the event. The code is NYE2016 and the url is https://homelincoln.co.uk/the-events/?ee=170 to check.

Many Thanks

Wayne


Tony

  • Support Staff

December 20, 2016 at 4:37 am

Hi Wayne,

Whilst editing the template you have removed one of the inputs, there should be a hidden input that tells EE to allow promo codes on the event, within the template it looks like this:

<input type="hidden" name="use_coupon[<?php echo $event_id; ?>]" value="<?php echo $use_coupon_code; ?>" />

So on your event you would have something like:

<input type="hidden" name="use_coupon[170]" value="Y" />

When I manually add that to the page the coupon code works fine – http://take.ms/ib2Bn

You’ll need to go back over your templates and fix the above, I’d also recommend updating to the latest version of Event Espresso 3 which is currently 3.1.37.11 (note you may also need to update your custom templates to match any changes made in the templates)


wayne

December 20, 2016 at 4:41 am

thanks, odd it was copied from the template files anf i thought i was all uptodate.

Cheers

W


Tony

  • Support Staff

December 21, 2016 at 3:51 am

Hi Wayne,

Just check if you managed to get this fixed within the template?

The support post ‘EE3 PROMO CODES NOT DISCOUNTING’ 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