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.
Not a big deal but if you set-up a commerce pane and later delete the node it refers to, commerce panes thinks it still exists.
Comments
Comment #1
pcambraThis can be easily done by deleting the pane on hook_entity_delete and disabling it in hook_entity_update if status is unpublished.
Patches are welcome :)
Comment #2
pcambraAnd... done!
Comment #4
rich_lang CreditAttribution: rich_lang commentedHi,
I think I have an error message that is related to this issue:
Notice: Undefined index: title in commerce_checkout_panes() (line 501 of /var/www/sites/all/modules/commerce/modules/checkout/commerce_checkout.module).
Could you explain how I solve the issue. #1 doesn't make a great deal of sense to me (sorry!).