You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CreateProductWorkflowInputDTO does not allow to set metadata properties on product_option and product_option_value database entities. Likewise UpdateProductWorkflowInputDTO.
When creating product option with its values, I want to assign json metadata to the option. However CreateProductOptionDTO does not have metadata property.
As far as I know there is no way how to set additional data to product options when calling batchProductsWorkflow.
Expected behavior
When creating/importing a product, I want to be able to define additional metadata because value property for an option is not enough.
I need to define label for each option as well.
Also it should be possible to assign metadata for each option value, not just to the option entity itself:
I could. Is there a guide how can I setup the repository for development? @riqwan
I cloned medusa repo and installed dependencies with yarn but when I have for example file opened: packages/medusa/src/api/store/products/route.ts. Typescript gives me errors that it cant find @medusajs/framework/utils and other modules..
Package.json file
Node.js version
v20
Database and its version
17.2
Operating system name and version
linux
Browser name
No response
What happended?
CreateProductWorkflowInputDTO
does not allow to setmetadata
properties onproduct_option
andproduct_option_value
database entities. LikewiseUpdateProductWorkflowInputDTO
.When creating product option with its values, I want to assign json
metadata
to the option. HoweverCreateProductOptionDTO
does not havemetadata
property.As far as I know there is no way how to set additional data to product options when calling
batchProductsWorkflow
.Expected behavior
When creating/importing a product, I want to be able to define additional metadata because
value
property for an option is not enough.I need to define
label
for each option as well.Also it should be possible to assign metadata for each option value, not just to the option entity itself:
Actual behavior
currently its only possible to set:
Link to reproduction repo
not relevant
The text was updated successfully, but these errors were encountered: