- This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
› Forums › WooCommerce Plugins › Bug in Cart for Plugin “Bookings For WooCommerce”
Tagged: Bookings
When adding a booking product with dual calendar and setting the dates, the General Cost is calculated correctly but when the item is added to the cart, the General Cost is multiplied again by the number of days. Is there anyone else with the same problem as me?
Thanks for reaching out! This issue seems unusual and might be related to specific plugin settings or a compatibility conflict.
We recommend connecting with our support team so they can take a closer look and assist you directly. Please share all relevant details, including screenshots and steps to reproduce the issue, and our team will be happy to help resolve it.
Best Regards
Sam
I resolved the issue by removing lines
if ($unit_price !== $new_price) {
$unit_price = (float) $unit_price * (float) $unit;
}
from mwb_mbfw_show_extra_charges_in_total function in common/class-mwb-bookings-for-woocommerce-common.php