[Bug with fix included] Manual appointment with customer not working
Issue #1091
resolved
I was not able to reproduce this on my installations but the customer was able to reproduce this in 2 different environments.
The issue is when the order in admin is created for a customer. It creates an appointments, the appointment is tied to the order, but the order doesn’t have any appointment tied to it, only the product (as 0€). It shows like this:
The fix is simple. In the \woocommerce-appointments\includes\admin\class-wc-appointments-admin-add.php file change the order of code on lines 262-305 from left (original) to right (modified):
Reported here.
Comments (3)
-
reporter -
reporter fyi, both users use Apache and PHP 7.4.33 (although one of them tried to change the PHP version and it didn’t help).
-
- changed status to resolved
Added with 4.18.1
- Log in to comment
another report: https://bookingwp.com/forums/topic/manual-appointment-creation-bug-when-selecting-associated-user-account-2/