diff --git a/plugins/woocommerce-admin/client/marketplace/components/product-list-content/product-list-content.tsx b/plugins/woocommerce-admin/client/marketplace/components/product-list-content/product-list-content.tsx index 45d948fef45..ac4189291e4 100644 --- a/plugins/woocommerce-admin/client/marketplace/components/product-list-content/product-list-content.tsx +++ b/plugins/woocommerce-admin/client/marketplace/components/product-list-content/product-list-content.tsx @@ -22,12 +22,14 @@ export default function ProductListContent( props: { title: product.title, icon: product.icon, vendorName: product.vendorName, - vendorUrl: appendURLParams( product.vendorUrl, [ - [ 'utm_source', 'extensionsscreen' ], - [ 'utm_medium', 'product' ], - [ 'utm_campaign', 'wcaddons' ], - [ 'utm_content', 'devpartner' ], - ] ), + vendorUrl: product.vendorUrl + ? appendURLParams( product.vendorUrl, [ + [ 'utm_source', 'extensionsscreen' ], + [ 'utm_medium', 'product' ], + [ 'utm_campaign', 'wcaddons' ], + [ 'utm_content', 'devpartner' ], + ] ) + : '', price: product.price, url: appendURLParams( product.url, diff --git a/plugins/woocommerce/changelog/fix-wccom-marketplace-products-with-no-vendorurl b/plugins/woocommerce/changelog/fix-wccom-marketplace-products-with-no-vendorurl new file mode 100644 index 00000000000..393032bc56d --- /dev/null +++ b/plugins/woocommerce/changelog/fix-wccom-marketplace-products-with-no-vendorurl @@ -0,0 +1,5 @@ +Significance: patch +Type: fix +Comment: More-resilient handling of absent product vendor URLs when browsing WooCommerce > Extensions. + +