Booking meta reassigned to wrong product after booking edit, if order contains more than one booking/accom product #318
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: bug
The issue is a confirmed bug.
I think this is an issue with the parent Woocommerce Bookings Plugin to be honest, but that repo seems to be private so there doesn't seem to be anywhere for developers to submit issues for it?
The issue is that if I make a booking with more than one booking / accommodation type:
Then try to edit one of the bookings (I'll edit the status of booking 16633 for example, to set it back to unpaid):
(Clicked view booking > {set status to unpaid} > save booking, then click the "linked to order" link to go back)
See it is now attached to the wrong product, and stays that way (as in it's not just a ui glitch. Generated invoice PDF's, emails, etc all show it).
However if you click into it then it still thinks it's product is the correct one:
It still says the booked product is tamworth hut (the accom product) even though its displaying in the main order view as being an item meta of "rewilding your garden".
And its not just defaulting to the top one either. I just edited the "rewilding your garden" meta, and on save, that has now switched over to the "tamworth hut" one, so they are both now inverted:
The text was updated successfully, but these errors were encountered: