롯데ON의 상품 상세 페이지는 상품·리뷰·문의·교환·반품 정보, 쿠폰 조회/발급, 장바구니 담기, 조회수 증가/광고 배너 기능을 한 화면에서 AJAX 비동기로 처리해 새로고침 없이 매끄러운 사용자 경험을 제공합니다. QueryDSL로 필요한 데이터만 조회해 DB 부담을 줄이고, Spring Security 인가 흐름과 CSP 메타 태그를 활용해 비회원 로그인 유도 및 HTTPS Mixed Content 문제를 해결했습니다.

✅ 핵심 기술

✅ 성과

구조

src/ └── main/ │── java/ │ └── kr.co.lotteon/ │ │── controller/ │ │ └── product/ │ │ │── ProductViewController.java │ │ └── ProductCouponController.java │ │── service/ │ │ └── product/ │ │ │── ProductViewService.java │ │ └── ProductCouponService.java │ │── repository/ │ │ │── product/ │ │ │ └── ProductRepository.java │ │ └── coupon/ │ │ ├── CouponRepository.java │ │ └── CouponIssueRepository.java │ │── entity/ │ │ │── product/ │ │ │ │── Product.java │ │ │ │── ProductDetail.java │ │ │ └── ProductImage.java │ │ └── coupon/ │ │ │── Coupon.java │ │ └── CouponIssue.java │ └── dto/ │ │── product/ │ │ │── ProductDTO.java │ │ │── ProductDetailDTO.java │ │ └── ProductImageDTO.java │ └── coupon/ │ │── CouponDTO.java │ └── CouponIssueDTO.java └── resources/ └── templates/ │ └── product/ │ └── view/ │ │── view.html │ │── detail.html │ │── review.html │ │── qna.html │ └── exchange.html └── static/ └── js/ └── product/ └── view.js

상품 보기 전체 페이지

상품상세보기-롯데On.png

롯데ON의 상품 상세 페이지는 상품의 모든 정보를 한눈에 확인하고, 리뷰/문의/교환·반품 정보를 탭으로 전환하며, 정렬·페이징 기능을 새로고침 없이 제공해 사용자 경험을 극대화했습니다.