Viewing 5 replies - 1 through 5 (of 5 total)
  • hi, you need to go to the wc-ebs-plugin.php and edit out the ‘/ day’ part of line 122. although this will remove the text, it will not perform any calculations for you. i am currently trying to figure out how to put all my bookable products on weekly prices, so if you have any luck let me know.

    on a separate note, would it be worth returning the base price instead of the new price if you are charging a single rate per hire? i could show you how to do this.

    Thread Starter jbarrett888

    (@jbarrett888)

    Thanks so much, nelsash! I ended up opting for the WooCommerce Bookings extension instead — there were too many variables needing finessing.

    Is it still not possible to remove the /day text without affecting the calculations of the booking ?

    Solved :

    line 137
    if ( isset( $wc_ebs_options ) && $wc_ebs_options == ‘yes’ ) {
    //return $content . __(‘ / day’, ‘wc_ebs’);
    return $content . __(‘ ‘, ‘wc_ebs’);
    } else {

    and it computes the days correctly 😀

    Plugin Author Ashanna

    (@morki)

    Hello,

    You found a solution, great !

    You can even remove the ” . __(‘ ‘, ‘wc_ebs’);”. I’ll see what I can do to easily change that in the next update 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to remove "/ day" from product price’ is closed to new replies.