Skip to content

Commit

Permalink
updated 3
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Sep 18, 2024
1 parent 07c3254 commit 3ea9d72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/commerce-search-order/commerce-search-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default async function decorate(block) {
// routeCustomerOrder
routeCustomerOrderDetails: () => "/customer/order-details/1",
// routeGuestOrder
routeOrderDetails: () => "/order-details/1",
routeOrderDetails: () => "/order-details/",
onError: async (errorInformation) => {
console.info("errorInformation", errorInformation);
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/dropins.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { getMetadata } from "./aem.js";
export const getUserTokenCookie = () => getCookie("auth_dropin_user_token");

const setupInitialHandlers = (orderRef) => {
console.log("orderRef", orderRef);
initializers.register(orderApi.initialize, {
orderRef,
});
Expand Down

0 comments on commit 3ea9d72

Please sign in to comment.