Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixed undefined method `product_id' for Spree::LineItem
Damian Legawiec72208dace2bc
diff --git a/core/app/models/spree/line_item.rb b/core/app/models/spree/line_item.rbindex cc4e868488..6f841af8fb 100644--- a/core/app/models/spree/line_item.rb+++ b/core/app/models/spree/line_item.rb@@ -39,7 +39,7 @@ module Spreeafter_create :update_tax_charge- delegate :name, :description, :sku, :should_track_inventory?, :product, :options_text, :slug, to: :variant+ delegate :name, :description, :sku, :should_track_inventory?, :product, :options_text, :slug, :product_id, to: :variantdelegate :brand, :category, to: :productdelegate :tax_zone, to: :order