<% if (ob.returnText) { %> <%= ob.returnText %> <% } %>
<% [ { key: 'general', name: ob.polyT('editListing.sectionNames.general'), }, { key: 'photos', name: ob.polyT('editListing.sectionNames.photos'), }, { key: 'shipping', name: ob.polyT('editListing.sectionNames.shipping'), }, { key: 'tags', name: ob.polyT('editListing.sectionNames.tags'), }, { key: 'category', name: ob.polyT('editListing.sectionNames.category'), }, { key: 'variants', name: ob.polyT('editListing.sectionNames.variants'), }, { key: 'returnPolicy', name: ob.polyT('editListing.sectionNames.returnPolicy'), }, { key: 'termsAndConditions', name: ob.polyT('editListing.sectionNames.termsAndConditions'), }, { key: 'coupons', name: ob.polyT('editListing.sectionNames.coupons'), } ].forEach((tab, index) => { print(`${tab.name}`) }); %>

<% print(ob.createMode ? ob.polyT('editListing.createListingLabel') : ob.polyT('editListing.editListingLabel')) %>

<%= ob.polyT('settings.btnSave') %>

<%= ob.polyT('editListing.viewListingLink') %>
<% if (ob.errors['item.title']) print(ob.formErrorTmpl({ errors: ob.errors['item.title'] })) %>
<%= ob.polyT('editListing.helperTitle') %>
<% if (ob.errors['metadata.contractType']) print(ob.formErrorTmpl({ errors: ob.errors['metadata.contractType'] })) %>
<%= ob.polyT('editListing.helperType', { smart_count: 4 }) %>
<% // hiding until this is ready on the back end %>
<% if (ob.errors['item.price']) print(ob.formErrorTmpl({ errors: ob.errors['item.price'] })) %>
<%= ob.polyT('editListing.helperPrice', { cur: ob.currencyMod.getServerCurrency().name }) %>
<% if (ob.errors['item.condition']) print(ob.formErrorTmpl({ errors: ob.errors['item.condition'] })) %>
<%= ob.polyT('editListing.helperCondition') %>
<% if (ob.errors['item.nsfw']) print(ob.formErrorTmpl({ errors: ob.errors['item.nsfw'] })) %>
checked<% } %>>
checked<% } %>>
<%= ob.polyT('editListing.helperNSFW') %>
<% if (ob.errors['item.description']) print(ob.formErrorTmpl({ errors: ob.errors['item.description'] })) %>
<%= ob.item.description %>

<%= ob.polyT('editListing.sectionNames.photos') %>

<%= ob.polyT('editListing.uploading') %> <%= ob.polyT('editListing.btnCancelUpload') %>

<% if (ob.errors['item.images']) print(ob.formErrorTmpl({ errors: ob.errors['item.images'] })) %>
  • <% ob.item.images.forEach(image => { print(ob.uploadPhotoT(Object.assign(image, { closeIconClass: 'js-removeImage' }))) }); %>
<%= ob.polyT('editListing.helperPhotos', { maxPhotos: ob.max.photos }) %>
<% if (ob.errors['shippingOptions']) print(ob.formErrorTmpl({ errors: ob.errors['shippingOptions'], class: 'topLevelShipOptErrs' })) %>

<%= ob.polyT('editListing.shippingOptions.optionHeading', { listPosition: ob.shippingOptions.length + 1 }) %>


<%= ob.polyT('editListing.shippingOptions.btnAddShippingOption') %>
<%= ob.polyT('editListing.helperShipping') %>

<%= ob.polyT('editListing.sectionNames.tagsDetailed') %>


<% if (ob.errors['item.tags']) print(ob.formErrorTmpl({ errors: ob.errors['item.tags'] })) %>
<% if (ob.item.tags.length >= ob.max.tags) print(ob.maxTagsWarning) %>
<%= ob.polyT('editListing.helperTags') %>

<%= ob.polyT('editListing.sectionNames.categoryDetailed') %>


<% if (ob.errors['item.categories']) print(ob.formErrorTmpl({ errors: ob.errors['item.categories'] })) %>
<% if (ob.item.categories.length >= ob.max.cats) print(ob.maxCatsWarning) %>

<%= ob.polyT('editListing.sectionNames.variantsDetailed') %>


<%= ob.polyT('editListing.variants.btnAddVariant') %>

<%= ob.polyT('editListing.sectionNames.variantInventory') %>


<% if (ob.errors['item.skus']) print(ob.formErrorTmpl({ errors: ob.errors['item.skus'] })) %>

<%= ob.polyT('editListing.sectionNames.returnPolicy') %>


<% if (ob.errors['refundPolicy']) print(ob.formErrorTmpl({ errors: ob.errors['refundPolicy'] })) %> <%= ob.polyT('editListing.btnAddReturnPolicy') %>
<%= ob.polyT('editListing.helperReturnPolicy') %>

<%= ob.polyT('editListing.sectionNames.termsAndConditions') %>


<% if (ob.errors['termsAndConditions']) print(ob.formErrorTmpl({ errors: ob.errors['termsAndConditions'] })) %> <%= ob.polyT('editListing.btnTermsAndConditions') %>
<%= ob.polyT('editListing.helperTerms') %>

<%= ob.polyT('editListing.sectionNames.coupons') %>


<%= ob.polyT('editListing.btnAddCoupon') %>