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.
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 😀
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 🙂