- πΊπ¦Ukraine marchuk.vitaliy Rivne, UA
Fixed in this issue https://www.drupal.org/project/dc_ajax_add_cart/issues/3541983 π Drupal 10 and Commerce 2.4/3.x compatibility fixes Active and will be available in version 3.0.0.
When we edit display in product, module dc_ajax_add_cart not work correctly.
Error:
Error: Call to a member function getDefaultVariation() on null in Drupal\dc_ajax_add_cart\ProductLazyBuilders->ajaxAddToCartForm() (line 59 of /web/modules/contrib/dc_ajax_add_cart/src/ProductLazyBuilders.php)
Because in ajaxAddToCartForm parameter product id is not passed.
Closed: duplicate
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Fixed in this issue https://www.drupal.org/project/dc_ajax_add_cart/issues/3541983 π Drupal 10 and Commerce 2.4/3.x compatibility fixes Active and will be available in version 3.0.0.