<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> <#if product?has_content>

${uiLabelMap.PageTitleEditProductQuickAdmin}

<#if (product.isVirtual)?if_exists == "Y">

${productId?if_exists}

<#if (product.isVirtual)?if_exists == "Y">

${uiLabelMap.ProductSelectableFeatures}

${uiLabelMap.CommonType}

<#assign idx=0/> <#assign rowClass = "2"> <#list productAssocs as productAssoc> <#assign assocProduct = productAssoc.getRelatedOne("AssocProduct", false)/> class="alternate-row"> <#assign checked=""/> <#if ((assocProduct.smallImageUrl?if_exists != "") && (assocProduct.smallImageUrl?if_exists == product.smallImageUrl?if_exists) && (assocProduct.smallImageUrl?if_exists != "") && (assocProduct.smallImageUrl?if_exists == product.smallImageUrl?if_exists)) > <#assign checked = "checked='checked'"/> <#assign fromDate = Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(productAssoc.getTimestamp("fromDate").toString())/> <#assign idx = idx + 1/> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2">
${uiLabelMap.ProductProductId}       ${uiLabelMap.ProductSRCH} ${uiLabelMap.ProductDL}
${assocProduct.productId?if_exists} ${assocProduct.internalName?if_exists} x
  <#list selectableFeatureTypes as selectableFeatureType>
x ${(selectableFeatureType.get("description",locale))?if_exists}
<#if (product.isVariant)?if_exists == "Y">

${uiLabelMap.ProductDistinguishingFeatures}

<#assign idx=0/> <#assign rowClass = "2"> <#list distinguishingFeatures as distinguishingFeature> class="alternate-row"> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2">
${uiLabelMap.ProductProductId}
x  ${distinguishingFeature.productFeatureId} ${productFeatureTypeLookup.get(distinguishingFeature.productFeatureId).get("description",locale)}: ${distinguishingFeature.get("description",locale)}  

${uiLabelMap.ProductShippingDimensionsAndWeights}

<#if (product.isVirtual)?if_exists == "Y"> <#assign idx=0/> <#assign rowClass = "2"> <#list assocProducts as assocProduct> class="alternate-row"> <#assign idx = idx + 1/> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2"> <#else>
${uiLabelMap.ProductProductHeight} ${uiLabelMap.ProductProductWidth} ${uiLabelMap.ProductProductDepth} ${uiLabelMap.ProductWeight} ${uiLabelMap.ProductFlOz} ${uiLabelMap.ProductML} ${uiLabelMap.ProductNtWt} ${uiLabelMap.ProductGrams} ${uiLabelMap.ProductHZ} ${uiLabelMap.ProductST} ${uiLabelMap.ProductTD}
${StringUtil.wrapString(featureHazmat.get(assocProduct.productId)?if_exists)} ${StringUtil.wrapString(featureSalesThru.get(assocProduct.productId)?if_exists)} ${StringUtil.wrapString(featureThruDate.get(assocProduct.productId)?if_exists)}
  
${StringUtil.wrapString(hazmat?if_exists)} ${StringUtil.wrapString(salesthru?if_exists)} ${StringUtil.wrapString(thrudate?if_exists)}

${uiLabelMap.ProductStandardFeatures}

<#if addedFeatureTypeIds?has_content || standardFeatureAppls?has_content>
<#if addedFeatureTypeIds?has_content>
<#assign rowClass = "2"> <#list addedFeatureTypeIds as addedFeatureTypeId> class="alternate-row"> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2">
${addedFeatureTypes.get(addedFeatureTypeId).description}
  <#if standardFeatureAppls?has_content> <#assign rowClass = "2"> <#list standardFeatureAppls as standardFeatureAppl> <#assign featureId = standardFeatureAppl.productFeatureId/> class="alternate-row"> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2">
x ${productFeatureTypeLookup.get(featureId).description}: ${standardFeatureLookup.get(featureId).description}

${uiLabelMap.ProductFeatureTypes}

${uiLabelMap.ProductCategories}

 
<#assign rowClass = "2"> <#list productCategoryMembers as prodCatMemb> <#assign prodCat = prodCatMemb.getRelatedOne("ProductCategory", false)/> class="alternate-row"> <#-- toggle the row color --> <#if rowClass == "2"> <#assign rowClass = "1"> <#else> <#assign rowClass = "2">
x ${prodCat.description?if_exists} ${prodCat.productCategoryId}

${uiLabelMap.ProductPublishAndView}

<#if (showPublish == "true")>
<@htmlTemplate.renderDateTimeField name="fromDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="fromDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
<#else>
<@htmlTemplate.renderDateTimeField name="thruDate" event="" action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30" id="thruDate1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
<#else>

${uiLabelMap.ProductProductNotFound} ${productId?if_exists}