mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-02 06:51:40 +00:00
Update DFC product importer
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
d281e9d1b5
commit
6e7b97879b
@@ -66,7 +66,7 @@ class SuppliedProductBuilder < DfcBuilder
|
||||
name: supplied_product.name,
|
||||
description: supplied_product.description,
|
||||
price: 0, # will be in DFC Offer
|
||||
primary_taxon: taxon(supplied_product)
|
||||
primary_taxon_id: taxon(supplied_product).id
|
||||
).tap do |product|
|
||||
QuantitativeValueBuilder.apply(supplied_product.quantity, product)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user