These are chat archives for reactioncommerce/reaction

17th
Dec 2016
Brent Hoover
@zenweasel
Dec 17 2016 00:21
@andela-akolawole afaik, it currently does nothing
Kolawole Michael Alade
@michael-alade
Dec 17 2016 00:21
ok.
Michael Duane Mooring
@mikeumus
Dec 17 2016 03:19
Michael Duane Mooring
@mikeumus
Dec 17 2016 03:33
or can we just append items to the variant object's end and not worry about it.
Michael Duane Mooring
@mikeumus
Dec 17 2016 03:41
Or... (and now I think this is maybe the right way), do we edit the schema for productVariant to have the extra items? ;)
Brent Hoover
@zenweasel
Dec 17 2016 04:13
I think those are all viable options.
Probably metafields is good for, you know, metadata
but if it’s actual product data, you can edit/extend the schema
Brent Hoover
@zenweasel
Dec 17 2016 14:07
one relevant fact might be that metafields can be included in product search
Michael Duane Mooring
@mikeumus
Dec 17 2016 20:42
Alright, Thanks again @zenweasel :bow:
Is there a way to get the child variants (product options) of a variant? I need to delete the variants that come with a cloned product.
Or maybe that'd be something like getting all the variants that have a topVariant as their ancestor.
Kolawole Michael Alade
@michael-alade
Dec 17 2016 22:40
@zenweasel How do I write tests for my plugin methods and publication?