Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ashanna

    (@morki)

    Hello,

    I’m sorry I don’t understand your question, could you be more precise please? An example maybe?

    Regards,
    Natasha

    Thread Starter user123user

    (@user123user)

    I mean is it possible to overwite the woocommerce starting price so it says rent starting from 100 euro instead of it saying 100 euro / day

    Plugin Author Ashanna

    (@morki)

    Please check the FAQ under Texts > How can I change the “/ day” text?

    Thread Starter user123user

    (@user123user)

    with the following code i got the following
    €22.50?exlusief borg
    but i need
    Huurprijs vanaf €22.50?exlusief borg
    why doesnt it work?

    add_filter( ‘easy_booking_price_html’, ‘easy_booking_display_custom_price’, 10, 3 );

    function easy_booking_display_custom_price( $price_html, $product, $price ) {

    $content = ‘Huurprijs vanaf ‘ . $price_html;

    return $price_html;

    }

    add_filter( ‘easy_booking_get_price_suffix’, ‘easy_booking_custom_price_suffix’, 10, 3 );

    function easy_booking_custom_price_suffix( $suffix, $_product, $booking_duration ) {

    $suffix = ‘ exlusief borg ‘;

    return $suffix;

    }

    Plugin Author Ashanna

    (@morki)

    Oops, there’s a small mistake on the website.

    This should work:

    add_filter( 'easy_booking_price_html', 'easy_booking_display_custom_price', 10, 3 );
    
    function easy_booking_display_custom_price( $price_html, $product, $price ) {
    
        $content = 'Huurprijs vanaf ' . $price_html;
        return $content;
    
    }
    
    add_filter( 'easy_booking_get_price_suffix', 'easy_booking_custom_price_suffix', 10, 3 );
    
    function easy_booking_custom_price_suffix( $suffix, $_product, $booking_duration ) {
    
        $suffix = ' exlusief borg ';
        return $suffix;
    
    }
    Thread Starter user123user

    (@user123user)

    Yes thank you very much it works

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘starting price at day 0’ is closed to new replies.