Support

Home Forums Event Espresso Premium Surcharge in checkout page

Surcharge in checkout page

Posted: February 17, 2015 at 6:54 am


Ashikul Yead

February 17, 2015 at 6:54 am

Is there anyway to show surcharge in checkout page instead of being added to price on event pages?

I’ve tried the following code, however, it doesn’t seem to work any longer.
https://eventespresso.com/wiki/useful-php-code-snippets/#display-base-price

Thanks in advance.


Lorenzo Orlando Caum

  • Support Staff

February 17, 2015 at 11:41 am

Hi Ashikul,

The example that you linked to is for adjusting the display price in the ticket selector. The ticket selector is used on the event listing page or on the single event page.

Could you post a screenshot of the area that you are trying to change and we’ll share additional feedback?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Lorenzo


Ashikul Yead

February 18, 2015 at 11:49 am

Here’s the link to the page:
https://www.ticketsquad.com/events/knockout-2015/

I am trying to display the base price only. However, it’s adding the modified surcharge as well to the price.

Thanks!


Dean

February 19, 2015 at 1:51 am

Hi,

The above code only works with taxes, not price modifiers which might be why you are having some trouble.

Take a look at my variation at the bottom of this thread https://eventespresso.com/topic/how-to-remove-surcharge-from-base-price-listing/ – that should work for you with price modifiers.


Ashikul Yead

February 19, 2015 at 4:10 am

Hi.

Thanks, that works!

Is there anyway to clarify the surcharge on the check out page?


Dean

February 19, 2015 at 6:23 am

Hi,

Whereabouts on the check out page – where the user adds their details or on the payment page or the thank you page?

I’m assuming you want it listed somewhere so the user knows why the price has jumped?


Ashikul Yead

February 19, 2015 at 9:52 am

Hi,

I would like to add it where the user adds their details on the checkout page.

Thanks!


Dean

February 20, 2015 at 3:47 am

Hi,

This is not currently possible barring editing a core file which we do NOT recommend.

I will make a request to see if we can add in a hook in that file in future versions what will allow us to add in data, but I cannot guarantee it will be included.

If you did want to edit the core file (again we do not recommend this) then the file in question is /wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/templates/attendee_information/attendee_info_main.template.php

The support post ‘Surcharge in checkout page’ 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