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, 3 months ago by Christian. Reason: code is not displayed
  • This topic was modified 12 years, 3 months ago by Christian.
  • This topic was modified 12 years, 3 months ago by Christian. Reason: Hey, the HTML tag code doesn't work with full php tags


Josh

  • Support Staff

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

  • Support Staff

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

  • Support Staff

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