Support » Plugin: Events Manager » [Plugin: Events Manager] Any way to delete decimal point and 2 zeros after from the ticket price?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can change that using the template files at /templates/forms

    Using Template Files

    Thank you for that Agelonwl.

    I am not a programmer, and don’t know how to mod PHP.
    Any chance you can teach me the detailed steps?

    First, follow the tutorials on how to copy template files to your current theme

    Second, you need to edit/customize two php file e.g. ticket-single.php and ticket-list.php (which is self explanatory)

    Third, this code $EM_Ticket->get_price(true); if true, will include currency symbol e.g. $ else if false, will just display the amount e.g. 5.00

    Fourth, you can easily follow this url http://www.w3schools.com/php/func_string_money_format.asp for the PHP format. Just supply the code $EM_Ticket->get_price(true)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Any way to delete decimal point and 2 zeros after from the ticket price?’ is closed to new replies.