<%@ page import="com.gsicommerce.ess.pageview.store.product.*" %> <%@ page import="com.gsicommerce.ess.pageview.store.DefaultStoreFactory" %> <%@ include file="../../global/store.jsp"%> <%! static final String pageType = "product"; %> <%@ include file="../../global/prodConfig.jsp"%> <%@ include file="../include/setPageTitle_dynamic.jsp" %> <%@ include file="../include/productPrice.jsp"%> <%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c_rt"%> <%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%> <%@ taglib uri="http://gsicommerce.com/gsi-social.tld" prefix="social" %> <% // Redirecting to home page in case isVIBEnabled is off and its a VIB product if(productId.equals(getStoreAttribValue("vibSupressingProduct")) && !("1".equals(getStoreAttribValue("isVIBEnabled")))){ response.sendRedirect("/home/index.jsp"); } %> <%! public String replaceSingleQuotes(String toBeReplaced) { String replacedString=""; replacedString=toBeReplaced; replacedString=replacedString.replaceAll("'","\\\\'"); //replacedString=replacedString.replaceAll("'","\'"); replacedString=replacedString.replaceAll("\"","\\\""); return replacedString; } %> <% request.setAttribute("perfPageType",pageType); //making pagType available for PMO 1903 request.setAttribute("perfSubType",sub_store_code2); //making pagType available for PMO 1903 %> <%-- Keep gomez.jsp at the top of element --%> <%OrclPageSupport.getStoreSession().putValue("isProductPage","true");%> <% Map seoProdPageCustomDataMap = new HashMap(); seoProdPageCustomDataMap.put("seoTagCustomizedData1",request.getAttribute("mainStoreName")); String localeStr = LocaleHTTPUtilities.getCurrentLocaleCode(request); %> <% String reviewsPageSuffix = null; String reviewsPage = (String)request.getParameter("reviewsPage"); if(OrclPageSupport.getStoreAttribBooleanValue("Inline_product_reviews") && reviewsPage != null && reviewsPage.length() > 0){ reviewsPageSuffix = " Product Reviews Page " + reviewsPage; } %> <% if(OrclPageSupport.getStoreAttribBooleanValue("hasSEOTitleTag")) { %> <% } else { %> <%= setPageTitle%> <% } %> <%@ include file="../include/head_include.jsp" %> <% if(pageTitle!=null && pageTitle.toUpperCase().contains("TEST PID")){%> <% }%> <%-- Overriding Meta Desc for Alex's Lemonade Stand. This should be switched over to RT SEO Meta override but there seems to be issues with this ATM. This should be removed asap. --%> <% if ("11527320".equals(prod.getProductId())) { %> <% } else if(OrclPageSupport.getStoreAttribBooleanValue("hasSEOMetaDescriptionTag")) { %> <% } %> <% if(OrclPageSupport.getStoreAttribBooleanValue("hasSEOMetaKeywordsTag")) { %> <% seoProdPageCustomDataMap.put("seoTagCustomizedData1", request.getAttribute("mainStoreName")); %> <% } %> <% boolean hasForeSee = OrclPageSupport.getStoreAttribBooleanValue("HAS_FORESEE"); %> <% if (hasForeSee) { %> <%@ include file="../include/foresee_trus.jsp" %> <% } %> <%= replaceSingleQuotes(metaProd) %><%-- // following being replaced by the Minification and Concatenation Site Performance Improvement Project - front-end - PMO 1847 // Project Comment in JSP // The following being replaced by min-cat using /include/assets-head.jsp and /include/assets-foot.jsp // End min-cat comment --%> <%-- // following being replaced by the Minification and Concatenation Site Performance Improvement Project - front-end - PMO 1847 // Project Comment in JSP // The following being replaced by min-cat using /include/assets-head.jsp and /include/assets-foot.jsp // putting this file in product-css - that changes the load-order - may need be setup differently if it causes problems < %-- -- %> // End min-cat comment --%> <%@ include file="../include/facebookMeta.jsp"%> <% if (getAOSStoreAttribToggle(request,"isEigthBridgeEnabled")) { %> <% if (prod.getBasePrice()==null) { %> <% }else{ %> <% } %> <% } %>
<% String parentPage = request.getParameter("parentPage"); if ( session.getAttribute("parentUrl") != null || session.getAttribute("loopProductIdsOnPage") != null ) { if (parentPage != null) { if ( parentPage.equals("family") || parentPage.equals("search") ) { %> <% String parentUrl = (String)session.getAttribute("parentUrl"); String nxt_PID=(String)request.getAttribute("nxt_PID"); String pre_PID=(String)request.getAttribute("pre_PID"); String nxtprodURL=""; String preprodURL=""; String thumbImg = "T50"; String prevProdThumb = ""; String nextProdThumb = ""; String prevProdPrice = ""; String nextProdPrice = ""; Boolean showPrev = true; Boolean showNext = true; ImageReference prevProdImgThumb = null; ImageReference nextProdImgThumb = null; ImageReferenceCollection prevProdIRC = null; ImageReferenceCollection nextProdIRC = null; if( pre_PID != "") { ProductImpl preproduct = (ProductImpl)storeSession.getProduct(pre_PID); prevProdIRC = preproduct.getImageReferenceCollection(); prevProdPrice = preproduct.getPrice().setScale(2,BigDecimal.ROUND_HALF_UP).toString(); preprodURL = (String)createSearchProdURL(preproduct.getPageURL(),request,request.getParameterNames(),parentPage,cp,"").toString()+"&navigation=prev"; } else { showPrev = false; preprodURL = parentUrl; } if ( nxt_PID != "") { ProductImpl nxtproduct =(ProductImpl)storeSession.getProduct(nxt_PID); nextProdIRC = nxtproduct.getImageReferenceCollection(); nextProdPrice = nxtproduct.getPrice().setScale(2,BigDecimal.ROUND_HALF_UP).toString(); nxtprodURL = (String)createSearchProdURL(nxtproduct.getPageURL(),request,request.getParameterNames(),parentPage,cp,"").toString()+"&navigation=next"; } else { showNext = false; nxtprodURL = parentUrl; } if(prevProdIRC != null) { prevProdImgThumb = prevProdIRC.getOneForTypeAndView(thumbImg,"main"); } if(prevProdImgThumb != null){ prevProdThumb = prevProdImgThumb.getTag(); } if(nextProdIRC != null){ nextProdImgThumb = nextProdIRC.getOneForTypeAndView(thumbImg,"main"); } if(nextProdImgThumb != null){ nextProdThumb = nextProdImgThumb.getTag(); } %> <%}}}%> <%@ include file="../include/header.jsp"%> <%@ include file="../include/setConceptShop.jsp"%> <% // PMO 52785 start request.setAttribute("prodImg_1", prodImg_1); request.setAttribute("prodImg_3", prodImg_3); request.setAttribute("familyTxt1", familyTxt1); request.setAttribute("familyTxt2", familyTxt2); request.setAttribute("altText", altText); request.setAttribute("branddisplay", branddisplay); // PMO 52785 end %> <% boolean isGridProduct = false; boolean showInfoZone = true; %>
<%--   --%>    
The item(s) you want to add may not be available for purchase from your Wish List in the future. Consider purchasing the item(s) now, and check your local store if we are out of stock online.
Do you still want to add these items to your Wish List?
<%-- --%>
<% pageContext.setAttribute("vibProductId", getStoreAttribValue("vibSupressingProduct")); %> <% if (!isAOSSession(request)) { %>
<% } %>
<% //Include Power Review includes conditionally if useGSIReviews is false if (!OrclPageSupport.getStoreAttribBooleanValue("useGSIReviews") && !getAOSStoreAttribToggle(request,"useGSIReviews")) { %> <%@ include file="../../global/reviews/pwrReviewIncludes.jsp" %> <% } //--END PWR REVIEWS-- if (isOutfitProduct) { if (storeCode.equalsIgnoreCase("trus")) { %><% } } else if (storeCode.equalsIgnoreCase("trus")) { if(productDisplay.equals("truSimple") || productDisplay.equals("simple") || productDisplay.equals("thumbColorSlice") || productDisplay.equals("regional") || (productDisplay.equals("truTemplate1") && (getStoreAttribValue("productSlicingEnabled").equals("1")))) { %> <%-- PMO# 259 - CMS Template - showZoom is breaking due to two - top/bottom main_prod_standard.jsp seperated due to duplication of some markup/JS code so we end up combining them to gether and moving the CMS tags inside it --%> <% } else if (productDisplay.equals("truDGC")) { response.sendRedirect("/eGiftcard/index.jsp"); } else if(productDisplay.equals("truCollection")) {%> <% } else if(!"".equals(nullTest(getStoreAttribValue("Donation_Product"))) && !productId.equals(getStoreAttribValue("vibSupressingProduct"))) { if("truCharity".equals(productDisplay)) {%> <%-- --%> <%} else if("truAutism".equals(productDisplay)) {%> <%} } else if("1".equals(getStoreAttribValue("isVIBEnabled")) && productId.equals(getStoreAttribValue("vibSupressingProduct"))) { %> <% } } %> <%@ include file="../../global/productAffinity/beaconsProduct.jsp" %> <% if (!isAOSSession(request)) { %>
<% } %>
<% boolean isProdViaQuickShop = false; if(request.getParameter("quickShop") != null && request.getParameter("quickShop").equalsIgnoreCase("true")){ isProdViaQuickShop = true; }%>
<% String pageType_rr = pageType; %> <% if(!isAOSSession(request)) { %> <% if (nullTest(OrclPageSupport.getStoreAttribValue("certona_recommendations")).equals("1")) { %>
<%if(sub_store_code.equalsIgnoreCase("BRU")) { %>
<% } else if(sub_store_code.equalsIgnoreCase("TRU")) {%>
<% } %>
<% } else { %>
<% } %> <% } %> <%if(!productId.equals(getStoreAttribValue("vibSupressingProduct"))){%>
<%}%>
<% if (OrclPageSupport.getStoreAttribBooleanValue("isIASEnabled")) { %>
Added to Cart CloseX
<% if (!isAOSSession(request)) { %> <%if(sub_store_code.equalsIgnoreCase("BRU")) { %> <% if (OrclPageSupport.isTrue(OrclPageSupport.getStoreAttribValue("HAS_OFFERMATICA"))) { %>
<% } %> <% } else if(sub_store_code.equalsIgnoreCase("TRU")) {%> <% if (OrclPageSupport.isTrue(OrclPageSupport.getStoreAttribValue("HAS_OFFERMATICA"))) { %>
<% } } %>
<% } %>
Qty:
Any applicable promotions will be applied at checkout.
<%@ include file="../include/iasCMS.jsp"%>
Complete It
Previous Next
    View Cart & Checkout
    <% if (OrclPageSupport.getStoreAttribBooleanValue("minicartActive")) { %>
    Countine Shopping
    <% } %>
    <% } %> <%-- only show on standard product page --%> <% if(!isOutfitProduct && storeCode.equalsIgnoreCase("trus") && (productDisplay.equals("truSimple") || productDisplay.equals("simple") || productDisplay.equals("thumbColorSlice") || productDisplay.equals("regional") || (productDisplay.equals("truTemplate1") && (getStoreAttribValue("productSlicingEnabled").equals("1"))))) { %>

    Size Chart

    <% } %>
    <% if(!isAOSSession(request)) { %> <% } %>
    <% if(!isAOSSession(request)) { %> <%@ include file="../include/facebookFooter.jsp"%> <% if (OrclPageSupport.getStoreAttribBooleanValue("isEigthBridgeEnabled")) { %> <% } %> <% } %> <% request.setAttribute("perfSubType",sub_store_code); String navigationLink = request.getParameter("navigation"); %>