[에너지 라벨 추가수정]

- 영국에만 데이터가 현재 존재해 영국만 노출시켰지만 기획상 유럽에 나와야하여 독일 다시 추가.
 - 영국, 독일에서만 노출되도록 수정.
This commit is contained in:
junghoon86.park
2025-11-11 19:38:00 +09:00
parent e2dff2e5b2
commit d4eec0b392
2 changed files with 5 additions and 5 deletions

View File

@@ -479,14 +479,14 @@ export default memo(function TItemCardNew({
euEnrgLblInfos?.length > 0 && euEnrgLblInfos?.length > 0 &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== null && euEnrgLblInfos[0]?.enrgLblIcnUrl !== null &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined && euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined &&
countryCode === "GB" && (countryCode === "GB" || countryCode === "DE") &&
css.labelBox, css.labelBox,
(parsePrice(originalPrice) >= 10000 || parsePrice(originPrice) >= 10000 ) && (parsePrice(originalPrice) >= 10000 || parsePrice(originPrice) >= 10000 ) &&
(parsePrice(discountedPrice) >= 10000 || parsePrice(dcPrice) >= 10000 ) && (parsePrice(discountedPrice) >= 10000 || parsePrice(dcPrice) >= 10000 ) &&
euEnrgLblInfos?.length > 0 && euEnrgLblInfos?.length > 0 &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== null && euEnrgLblInfos[0]?.enrgLblIcnUrl !== null &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined && euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined &&
countryCode === "GB" && (countryCode === "GB" || countryCode === "DE") &&
css.labelOverBox css.labelOverBox
)} )}
> >
@@ -556,7 +556,7 @@ export default memo(function TItemCardNew({
} }
return ( return (
countryCode === "GB" && (countryCode === "GB" || countryCode === "DE") &&
(euEnrgLblInfos?.length > 0 && (euEnrgLblInfos?.length > 0 &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== null && euEnrgLblInfos[0]?.enrgLblIcnUrl !== null &&
euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined) && euEnrgLblInfos[0]?.enrgLblIcnUrl !== undefined) &&

View File

@@ -52,7 +52,7 @@ export default function ProductPriceDisplay({ productType, productInfo }) {
); );
const convert = useSelector((state) => state.convert); const convert = useSelector((state) => state.convert);
const countryCode = useSelector((state) => state.common.httpHeader.cntry_cd);
const webOSVersion = useSelector( const webOSVersion = useSelector(
(state) => state.common.appStatus.webOSVersion (state) => state.common.appStatus.webOSVersion
@@ -194,7 +194,7 @@ export default function ProductPriceDisplay({ productType, productInfo }) {
/> />
)} )}
<div className={css.enrgLbImgBox}> <div className={css.enrgLbImgBox}>
{euEnrgLblInfos && euEnrgLblInfos.map((item, index)=>{ {euEnrgLblInfos && (countryCode === "GB" || countryCode === "DE") && euEnrgLblInfos.map((item, index)=>{
return( return(
<SpottableComponent <SpottableComponent
key={index} key={index}