Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When moving from anonymous to logged in user, Upgrade / Add-on products loose association with parent booking item.
Since these items can only be removed from the cart by removing their parent item, and once disassociated they no longer display in the booking breakdown pane(s) or in the cart properly, this is a major issue.
This only occurs when moving from a non logged in state to a logged in state, if the user is logged in the entire time the problem does not appear.
Comment | File | Size | Author |
---|---|---|---|
afterlogin.png | 23.77 KB | willvincent | |
beforelogin.png | 15.04 KB | willvincent |
Comments
Comment #1
willvincent CreditAttribution: willvincent commentedThis is only affecting upgrade items added using hook_hotel_addons_upgrades_items()..
The API may be lacking, or my test usage implementation may be incomplete (likely the case)
Comment #2
willvincent CreditAttribution: willvincent commentedThis was an error with my usage of the hook mentioned in comment #1. All upgrade/addon items configured through the admin settings forms function as expected.