You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating the options of a global add-on, I expect the options correctly saved.
What happened instead
Saved options is different from the options I checked/unchecked. Furthermore, when saving, I get this notice: Notice: Undefined index: product-type in /[...]/wp-content/plugins/woocommerce-accommodation-bookings/includes/integrations/class-wc-accommodation-booking-addons.php on line 66
Steps to reproduce the issue
Here a few examples.
Starting state:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
Updating with these options:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
I get this:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
Updating with these options:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
I get this:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
Updating with these options:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
I get this:
Bookings: Multiply cost by person count
Bookings: Multiply cost by person count
Bookings: Multiply cost by block count
Bookings: Multiply cost by number of nights
Issue assigned to next milestone.
Issue assigned a priority (will be assessed by maintainers).
The text was updated successfully, but these errors were encountered:
What I expected
After updating the options of a global add-on, I expect the options correctly saved.
What happened instead
Saved options is different from the options I checked/unchecked. Furthermore, when saving, I get this notice:
Notice: Undefined index: product-type in /[...]/wp-content/plugins/woocommerce-accommodation-bookings/includes/integrations/class-wc-accommodation-booking-addons.php on line 66
Steps to reproduce the issue
Here a few examples.
Starting state:
Updating with these options:
I get this:
Updating with these options:
I get this:
Updating with these options:
I get this:
The text was updated successfully, but these errors were encountered: