From b3a16a7362e42c4d5fdc67426bd3db9c762c4b74 Mon Sep 17 00:00:00 2001 From: James Fong <26877476+jkf276@users.noreply.github.com> Date: Mon, 1 Dec 2025 09:50:23 -0600 Subject: [PATCH] Update utils.js --- actions/utils.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/actions/utils.js b/actions/utils.js index de983151..34f8bcd6 100644 --- a/actions/utils.js +++ b/actions/utils.js @@ -401,8 +401,12 @@ function getProductUrl(product, context, addStore = true) { const availableParams = { sku: product.sku, urlKey: product.urlKey, + path: product.path, }; - + + if (product.path) { + return product.path; + } // Only add locale if it has a valid value if (context.locale) { availableParams.locale = context.locale;