Cost!!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1015297
    Andrej
    Participant

    Hello 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)
    AD

    #1015329
    Nico
    Member

    Hi 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,
    Nico

    #1015391
    Andrej
    Participant

    Hi Nico,

    thanks, this solution I have already found and installed. The problem is, when a zero writes, nothing is displayed!

    #1015945
    Nico
    Member

    AD,

    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,
    Nico

    #1016150
    Andrej
    Participant

    Hi Nico,

    thank you very much! My issue is now resolved.

    Best regards
    AD

    #1016391
    Nico
    Member

    Stocked 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Cost!!!’ is closed to new replies.