[Bug with fix included] Manual appointment with customer not working

Issue #1091 resolved
Valentina R created an issue

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)

  1. Valentina R 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).

  2. Log in to comment