Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DFC Products] Enable Variant Product mappings across DFC endpoints #12984

Open
RaggedStaff opened this issue Nov 18, 2024 · 2 comments
Open
Assignees

Comments

@RaggedStaff
Copy link
Collaborator

RaggedStaff commented Nov 18, 2024

ℹ️ Funded Feature. Please track ALL ASSOCIATED WORK under the associated tracking code #11678 DFC Orders

We are enhancing DFC to include the ability to track Product > Variant relationships.

2 new relationships will be added to DefinedProduct : hasVariant (indicates the Product has a Variant with the given Id) & isVariantOf (indicates the Product is a Variant of the Product with the given Id).

Additional objects will be incorporated in a future version of the Ontology to enhance this further. Probably Variant as a subclass of DefinedProduct, details TBC. For now, we're just implementing these 2 relationships to hold this data.

Both Shopify & OFN support the concept of Product/Variants so hopefully this should be fairly seamless. We're not restricting anything from either Product or Variant at the moment, although we might want to look at the DFC issue for guidelines as to what to include/not include.

I'm thinking we need to amend Product import & also export. WDYT @mkllnk ?

@mkllnk
Copy link
Member

mkllnk commented Nov 19, 2024

we need to amend Product import & also export.

Yes, the export doesn't include master products at the moment. The import needs to recognise master products.

We'll need the new attributes in the data model for the connector.

@mkllnk
Copy link
Member

mkllnk commented Dec 4, 2024

Estimate 5 days.

  • Update the connector.
  • Include Spree::Product in the export.
  • Add transformations in the export.
  • Recognise master products in the import.
  • Connect variants to Spree::Product.

@mkllnk mkllnk moved this from Backlog to Ready in DFC Orders Implementation Phase 1 Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: All the things 💤
Development

No branches or pull requests

2 participants