Home › Forums › Calendar Products › Events Calendar PRO › Cost!!!
- This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by
Nico.
-
AuthorPosts
-
October 16, 2015 at 7:56 am #1015297
Andrej
ParticipantHello there,
after updating the characters in the line costs are not shown.
According to German set mandatory VAT must be shown!
If that is not the case, the operator can be warned!
Please build immediately a possibility to be able to use all the characters (also minus, umlauts, etc.). Otherwise your product is not quite conform to the market!Thank you and sorry for my English (Google Translate)
AD
Hallo,
nach dem Update werden die Zeichen in der Kosten zeile nicht dargestellt.
Laut deutsches gesetzt muss zwingend MwSt ausgewiesen werden!
Wenn das nicht der Fall ist, kann der Betreiber abgemahnt werden!
Bitte bauen Sie sofort eine Möglichkeit ein um alle Zeichen (auch minus, umlaute usw.) nutzen zu dürfen. Da sonst ihr Produkt für den Markt nicht rechtkonform ist!Danke und sorry für mein Englisch (google übersetzer)
ADOctober 16, 2015 at 9:19 am #1015329Nico
MemberHi there AD,
Sorry to hear about this issue! Hopefully the solution is fairly simple, please add the following snippet to your theme’s functions.php file:
https://gist.github.com/barryhughes/21c4e2fc52aec514cc9c
That should do the trick for you!
Have a great weekend,
NicoOctober 16, 2015 at 12:12 pm #1015391Andrej
ParticipantHi Nico,
thanks, this solution I have already found and installed. The problem is, when a zero writes, nothing is displayed!
October 19, 2015 at 12:38 pm #1015945Nico
MemberAD,
Thanks for following up! Not sure if I’m getting you right here. If you want to show a ‘free’ sign for events which cost is zero, you can do something like this:
function verbatim_cost_field( $cost, $post_id ) {
$event_cost = get_post_meta( $post_id, '_EventCost', true );if ( $event_cost == 0 ) $event_cost = 'Kostenlos';
return esc_html( $event_cost );
}
add_filter( 'tribe_get_cost', 'verbatim_cost_field', 10, 2 );
Please let me know if this makes sense to you,
Best,
NicoOctober 20, 2015 at 4:04 am #1016150Andrej
ParticipantHi Nico,
thank you very much! My issue is now resolved.
Best regards
ADOctober 20, 2015 at 3:10 pm #1016391Nico
MemberStocked to hear this is solved AD 🙂
If you need help with anything else please don’t hesitate to create a topic and we will be happy to assist you.
Best,
Nico -
AuthorPosts
- The topic ‘Cost!!!’ is closed to new replies.
