diff --git a/blocks/commerce-search-order/commerce-search-order.js b/blocks/commerce-search-order/commerce-search-order.js index 267ca14210..690074e333 100644 --- a/blocks/commerce-search-order/commerce-search-order.js +++ b/blocks/commerce-search-order/commerce-search-order.js @@ -36,7 +36,11 @@ export default async function decorate(block) { return true; }, routeCustomerOrder: () => '/customer/order-details', - routeGuestOrder: () => '/order-details', + routeGuestOrder: () => { + block.innerHTML = ''; + + return '/order-details'; + }, onError: async (errorInformation) => { console.info('errorInformation', errorInformation); },