Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add parent_sku field #84

Closed
pkarw opened this issue Jul 11, 2019 · 6 comments
Closed

Add parent_sku field #84

pkarw opened this issue Jul 11, 2019 · 6 comments
Assignees

Comments

@pkarw
Copy link
Contributor

pkarw commented Jul 11, 2019

Related to: vuestorefront/vue-storefront#3090

It will be great if we can add the parent_products to the products (simple one's) to mark up the parent products (it's probably n:m relationship, correct?). Without this relationship it's very very hard to find the parent product when you get the simple one

Or maybe there is another way?

@marcin-dykas
Copy link
Contributor

Hi

I will take it

@afirlejczyk
Copy link
Contributor

@pkarw It's a requirment for VSF, or this should be an optional?

@pkarw
Copy link
Contributor Author

pkarw commented Oct 25, 2019

This is na optional feature as far as I know I mean it’s not used in vsf core yet

@afirlejczyk
Copy link
Contributor

@pkarw Thanks.
Will you need this at all for VSF?

It looks like in the latest version on VSF we don't really need to export variants for configurable products.. (as separated documents).
I'm on the right track ? Or some VSF configurations require simple variants in ES and some doesn't ?

@pkarw
Copy link
Contributor Author

pkarw commented Oct 28, 2019

@afirlejczyk we still need it - we didn't change anything related to configurable logick

@marcin-dykas
Copy link
Contributor

Added parent_sku field.

e.g.

"parent_sku":["MH01","MH02"]

Added new parent_data data provider Divante\VsbridgeIndexerCatalog\Model\Indexer\DataProvider\Product\ParentData for indices.

#152

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants