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.
I am using drupal commerce module and I don't want to use product entity provided by drupal commerce module. So create a content type with Reference field (product variation) and select "inline entity form - Complex" in Manage form display.
when I creating the node with variation I got an error
"Fatal error: Call to a member function toUrl() on null in C:\xampp\htdocs\example-module\modules\contrib\commerce\modules\product\commerce_product.module on line 143"
Comments
Comment #2
steveoliver CreditAttribution: steveoliver at Circatree commentedA product variation needs a parent product.