diff --git a/packages/js/product-editor/src/hooks/use-product-template/use-product-template.ts b/packages/js/product-editor/src/hooks/use-product-template/use-product-template.ts index d0d832746ee..58cba7f6a20 100644 --- a/packages/js/product-editor/src/hooks/use-product-template/use-product-template.ts +++ b/packages/js/product-editor/src/hooks/use-product-template/use-product-template.ts @@ -67,9 +67,7 @@ export const useProductTemplate = ( const productType = product?.type; const productTemplateIdToFind = - productType === 'variable' - ? 'standard-product-template' - : productTemplateId; + productTemplateId || 'standard-product-template'; const productTypeToFind = productType === 'variable' ? 'simple' : productType;