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.

CommentFileSizeAuthor
afterlogin.png23.77 KBwillvincent
beforelogin.png15.04 KBwillvincent
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willvincent’s picture

Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

This 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)

willvincent’s picture

Title: Upgrade / Add-on products loose association with parent booking item » Upgrade / Add-on products lose association with parent booking item
Status: Postponed (maintainer needs more info) » Closed (fixed)

This 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.