Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Wrong Total Price on Confirmation Page, only discount | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Wrong Total Price on Confirmation Page, only discount

Wrong Total Price on Confirmation Page, only discount

Posted: August 1, 2012 at 10:43 pm

Viewing 6 reply threads


Christian

August 1, 2012 at 10:43 pm

while using a coupon code confirmation page (confirmation-display.php) displays a wrong total price for discounted price.

In line 117 of confirmation-display-php is the following function:
…?php echo $event_cost; echo $event_discount_label;?…

But with one attendee (in my case) not the total price is displayed, only the discount. It seems that the total price ($event_cost) is falsely calculated.

You can see a screenshot via this link: http://www.startupnavigator.de/wp-content/uploads/LittleSnapper.png

  • This topic was modified 12 years, 8 months ago by Christian. Reason: code is not displayed
  • This topic was modified 12 years, 8 months ago by Christian.
  • This topic was modified 12 years, 8 months ago by Christian. Reason: Hey, the HTML tag code doesn't work with full php tags


Josh

August 2, 2012 at 10:05 am

Hi Christian,

Can you check in /wp-content/uploads/espresso/templates and verify that there are not older versions of the templates (from a previous version of Event Espresso) in that directory? Rename it to something like eetemplatesOLD if that’s the case.

Then, verify that all the add-ons are up to date if you have any installed.


Christian

August 2, 2012 at 2:26 pm

Hi Josh,

there is no old version of Event Espresso templates in the directory. Every add-on is up to date.


Josh

August 2, 2012 at 2:51 pm

Hi Christian,

Are there any files at all in /wp-content/uploads/espresso/templates?

Here’s what I get when I test out the same event price/discount scheme on a stock install of Event Espresso:
enter image description here


Christian

August 2, 2012 at 11:53 pm

I attached a screenshot of files in the folder.enter image description here


Josh

August 3, 2012 at 7:06 am

That is a screenshot of the wp-content/plugins/event-espresso/templates folder.

The place to look is /wp-content/uploads/espresso/templates. Any templates in the /wp-content/uploads/espresso/templates folder will override the templates in wp-content/plugins/event-espresso/templates.


Christian

August 6, 2012 at 6:53 am

Josh, you are right. This was my error.
I changed the code in the file of the correct folder. Now it is working!.

Thanks for the hint.
CK

Viewing 6 reply threads

The support post ‘Wrong Total Price on Confirmation Page, only discount’ 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 - Staging Server