mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 19:21:23 +00:00
Save primary variant's SKU when normalizing a product from Spree
This commit is contained in:
@@ -47,7 +47,8 @@ export default function getAllProductsOperation({
|
||||
arguments: [
|
||||
{},
|
||||
{
|
||||
include: 'variants,images,option_types,variants.option_values',
|
||||
include:
|
||||
'primary_variant,variants,images,option_types,variants.option_values',
|
||||
per_page: first,
|
||||
},
|
||||
],
|
||||
|
@@ -54,7 +54,8 @@ export default function getProductOperation({
|
||||
getProductVariables.slug,
|
||||
{},
|
||||
{
|
||||
include: 'variants,images,option_types,variants.option_values',
|
||||
include:
|
||||
'primary_variant,variants,images,option_types,variants.option_values',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
Reference in New Issue
Block a user