Hi Stephen,
I downloaded the extension in my customer area on your website now and it worked. I have successfully installed the extension and added the field to my booking form. Everything is working fine except 2 problems:
I have created a german .po end .mo File from your .pot file and uploaded it – but no translations are made at all:
I have defined the confirmation email message in my functions file – now the discount is added in my email but it is not styled neither translated.
The code is like that:
$booking_table = sprintf(
‘
<table style=”width:100%%;text-align:center;”>
<thead style=”font-weight:bold; font-size:12px; font-family:Aria, Helvetica, sans-serif”><tr> <th>%s</th><th>%s</th><th>%s</th> </tr></thead>
<tbody>’,
__( ‘Quantity’, ‘eventorganiserp’ ),
__( ‘Name’, ‘eventorganiserp’ ),
__( ‘Price’, ‘eventorganiserp’ ),
__( ‘Ref.’, ‘eventorganiserp’ )
);
foreach ( $booking_tickets as $ticket ) {
$booking_table .= sprintf(
'<tr> <td style="font-size:12px; font-family:Aria, Helvetica, sans-serif">%s</td><td style="font-size:12px; font-family:Aria, Helvetica, sans-serif">%s</td><td style="font-size:12px; font-family:Aria, Helvetica, sans-serif"> %s </td> </tr>',
esc_html ( $ticket->ticket_quantity ),
esc_html( $ticket->ticket_name ),
eo_format_price( $ticket->ticket_price ),
$ticket->ticket_reference
);
}
$booking_table .= apply_filters( 'eventorganiser_email_ticket_list_pre_total', '', $booking_id );
$booking_table .= sprintf( '</tbody></table>
‘, __( ‘Gesamt’, ‘eventorganiserp’ ), eo_format_price( $total_price ) );
any chance to add the discount here and style it??
It seems that there is something weird with the translations of eo on my site as they never seem to work 🙁
Any help would be appreciated.
Thanks, Edith