Hi @arshadt87,
Thank you for using our plugin. Have you added custom function for ticket price ?
You can add where you want to show price. Currently we haven’t added in default template. I will consider your idea in core template files.
Please follow this
https://www.wp-eventmanager.com/documentation/how-to-show-ticket-price/
Let me know if you still have issue.
Thank you
Hi @hiteshmakvana,
I added the function code but i am having prob with the last code
<?php printf( __( ‘Ticket Price: %s’, ‘wp-event-manager’ ), get_event_ticket_price() ); ?>
when i put this code website goes down (500 Error).
You need to define function get_event_ticket_price() inside your themes function.php file.
Please follow all the steps in this documentation
https://www.wp-eventmanager.com/documentation/how-to-show-ticket-price/
Thank you
Help
Everything gets messed if I implement the Ticket price code:
PLease see this https://sportsbazaar.org/sportshive/event/sports-bazaar-india-mumbai-sports-event-title/
Could you please check screenshot and help:
“content-event_listing.php” edit
View post on imgur.com
Function code:
View post on imgur.com
Hi @hiteshmakvana ,
I am now able to display price (in INR) on the event summary box:
https://sportsbazaar.org/sportshive/
Now, can you please help me to also display price on the single event page:
https://sportsbazaar.org/sportshive/event/sports-bazaar-india-mumbai-sports-bazaar-event-on-the-10th-april-2018-2/
2.
Also I noticed, when price is free, it just displays Rupee symbol:
Please check the first event: https://sportsbazaar.org/sportshive/
Hi @arshadt87,
You have displayed event ticket price on content-event_listing.php template so it will show on listing page.
If you want to show on single page then please add in content-single-event_listing.php same like you did for conten-event_listing.php
If you dont want to show price then you can set condition in template file that get_ticket_price function is not empty.
Thank you
Hi @hiteshmakvana,
Great. Thank you. Price functionality works now!