diff --git a/com.twin.app.shoptime/src/App/deepLinkHandler.js b/com.twin.app.shoptime/src/App/deepLinkHandler.js index 90cd29e3..8c7eaa94 100644 --- a/com.twin.app.shoptime/src/App/deepLinkHandler.js +++ b/com.twin.app.shoptime/src/App/deepLinkHandler.js @@ -33,7 +33,6 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => { linkTpNm = LOG_MENU.APP; } else { const tokens = contentTarget.split("_"); - if (tokens[0] === "V2" || tokens[0] === "V3") { linkTpCd = tokens[1]; linkTpNm = tokens[2]; diff --git a/com.twin.app.shoptime/src/utils/Config.js b/com.twin.app.shoptime/src/utils/Config.js index 32e423af..f3c9c7d8 100644 --- a/com.twin.app.shoptime/src/utils/Config.js +++ b/com.twin.app.shoptime/src/utils/Config.js @@ -78,7 +78,8 @@ export const ACTIVE_POPUP = { orderDetailPopup: "orderDetailPopup", orderDetailCancel: "orderDetailCancel", errorPopup: "errorPopup", - returnExchangePopup: "returnExchangePopup", trackPackagePopup: "trackPackagePopup", + returnExchangePopup: "returnExchangePopup", + trackPackagePopup: "trackPackagePopup", unSupportedCountryPopup: "unSupportedCountryPopup", changeCountyPopup: "changeCounty", networkErrorPopup: "networkErrorPopup", @@ -634,4 +635,5 @@ export const LOG_MESSAGE_ID = { SEARCH_RESULT_CLICK: "AL_SEARCH_RESULT_CLICK", SEARCH_ITEM: "AL_SEARCH_ITEM", ENTRY_INFO: "AL_APP_ENTRY_INFO", + CHECKOUT_CLICK: "AL_CHECKOUT_CLICK", }; diff --git a/com.twin.app.shoptime/src/views/CheckOutPanel/components/PinCodeInput.jsx b/com.twin.app.shoptime/src/views/CheckOutPanel/components/PinCodeInput.jsx index 98afc997..c9879cd0 100644 --- a/com.twin.app.shoptime/src/views/CheckOutPanel/components/PinCodeInput.jsx +++ b/com.twin.app.shoptime/src/views/CheckOutPanel/components/PinCodeInput.jsx @@ -211,7 +211,20 @@ export default function PinCodeInput({ }; } ); - + const regularPrice = productList?.priceInfo.split("|")[0]; + const discountPrice = productList?.priceInfo.split("|")[1]; + const discountRate = productList?.priceInfo.split("|")[4]; + dispatch( + sendLogTotalRecommend({ + productId: productList?.prdtId, + item: productList?.prodQty, + price: discountRate ? discountPrice : regularPrice, + discount: discountRate, + coupon: orderProductCoupontUse.length > 0 ? "Y" : "N", + contextName: Config.LOG_CONTEXT_NAME.CHECKOUT, + messageId: Config.LOG_MESSAGE_ID.CHECKOUT_CLICK, + }) + ); dispatch( insertMyInfoCheckoutOrder( {