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
Event price shows as 0.00 in registration confirmation page/email | Event Espresso - Staging Server

Support

Home Forums Ticketing Event price shows as 0.00 in registration confirmation page/email

Event price shows as 0.00 in registration confirmation page/email

Posted: April 2, 2013 at 2:30 am

Viewing 3 reply threads


Francis Porter

April 2, 2013 at 2:30 am

Hi
Is there a shortcode to show the Total Cost on a ticket yet – I note in a previous Post that you were working on this but cannot find a short code. Thanks
previous post
WP3.5.1
Event Espresso – 3.1.30.7P


Dean

  • Support Staff

April 2, 2013 at 5:54 am

Hello Francis,

The ticketing shortcode [cost] was change in 2.8 to use the final_price variable.

However I am assuming you want to see the price for all tickets purchased, eg if a customer buys 5 tickets at $10 each you want to show $50 ?

If so this wont do it for you.

I have added a gist here https://gist.github.com/Apina/93f5e9eef66e4ad7c898 which can replace the functions.php in the Ticketing add on’s directory which will add a shortcode called [tcost] which basically multiplies quantity by ticket price.

This will only work when the additional attendees have no extra information (no data at all no names etc), as otherwise they are set up as individual attendees and thus quantity will always equal 1 currently.

I will raise a ticket and see if I can get this added into future ticketing add on versions.


Francis Porter

April 4, 2013 at 1:43 pm

Hi Dean
Many thanks for this. Do I add this to the main folder: plugins/espresso-ticketing/ or to the folder uploads/espresso/tickets?


Dean

  • Support Staff

April 4, 2013 at 11:58 pm

Hi Francis,

Unfortunately it would need to go in the main add on plugin so plugins/espresso-ticketing/.

I say unfortunately as any updates will over write the changes, so it would be a good idea to keep a copy.

Viewing 3 reply threads

The support post ‘Event price shows as 0.00 in registration confirmation page/email’ 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