Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Cart
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2022 at 10:19 UTC
Updated:
19 May 2023 at 18:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Natallia commentedComment #3
Natallia commentedComment #4
heni_deepak commentedI also facing the same issue.
Comment #5
avpadernoComment #6
avpadernoComment #7
floris vedder commentedMade an adjustment to the patch so the path is based on the root of the contrib module.
Comment #8
avpadernoComment #9
rszrama commentedNo clue why we ever even had an optional first parameter on this callback. Doesn't appear we did that for the other custom metadata callbacks. Patch is great, thanks!
Comment #11
damienmckennaCould one of the maintainers please tag a new release with this fix included? Thank you.
Comment #13
bserem commentedA new release including this one is still pending
Comment #14
neeraj420 commentedafter applying the patch I am getting the following error
Error: Call to undefined function commerce_product_reference_get_default_product() in commerce_cart_field_formatter_view() (line 2763 of /website/sites/all/modules/commerce/modules/cart/commerce_cart.module).
kindly help.
Thanks in advance