basicInformation.controller.js
7 years ago
basicInformation.directive.js
7 years ago
basicInformation.scss
7 years ago
basicInformation.tpl.html
7 years ago
basicInformation.tpl.html
123 lines
| 1 | <div class="wpallexport-collapsed wpallexport-section" ng-class="{closed: !basicInformation.open}"> |
| 2 | <div class="wpallexport-content-section"> |
| 3 | <div class="wpallexport-collapsed-header disable-jquery" ng-click="basicInformation.open = !basicInformation.open"> |
| 4 | <h3>Basic Product Information</h3> |
| 5 | </div> |
| 6 | <div class="wpallexport-collapsed-content" id="basic-product-information" ng-slide-down="basicInformation.open" duration="0.5"> |
| 7 | <div class="wpallexport-collapsed-content-inner"> |
| 8 | |
| 9 | <h4>Item Title</h4> |
| 10 | <div class="input"> |
| 11 | <label><input type="radio" ng-model="basicInformation.itemTitle" value="productTitle"/>Use the product title</label> |
| 12 | </div> |
| 13 | <div class="input"> |
| 14 | <label><input type="radio" ng-model="basicInformation.itemTitle" value="customValue" />Custom data</label> |
| 15 | <div class="input inner" ng-slide-down="basicInformation.itemTitle == 'customValue'" duration="0.2"> |
| 16 | <input type="text" class="wpae-default-input" ng-model="basicInformation.itemTitleCV" droppable /> |
| 17 | </div> |
| 18 | </div> |
| 19 | |
| 20 | <div class="input checkbox" ng-if="basicInformation.hasVariations"> |
| 21 | <label><input type="checkbox" ng-model="basicInformation.useParentTitleForVariableProducts" value="1" />For variable products, use the parent product title</label> |
| 22 | </div> |
| 23 | |
| 24 | <h4>Item Description</h4> |
| 25 | <div class="input"> |
| 26 | <label><input type="radio" ng-model="basicInformation.itemDescription" value="productDescription"/>Use the product description</label> |
| 27 | </div> |
| 28 | <div class="input"> |
| 29 | <label><input type="radio" ng-model="basicInformation.itemDescription" value="productShortDescription"/>Use the product short description</label> |
| 30 | </div> |
| 31 | <div class="input"> |
| 32 | <label><input type="radio" ng-model="basicInformation.itemDescription" value="customValue" />Custom data</label> |
| 33 | <div class="input inner" ng-slide-down="basicInformation.itemDescription == 'customValue'" duration="0.2"> |
| 34 | <input type="text" class="wpae-default-input" ng-model="basicInformation.itemDescriptionCV" droppable /> |
| 35 | </div> |
| 36 | </div> |
| 37 | |
| 38 | <div class="input checkbox"> |
| 39 | <label><input type="checkbox" ng-model="basicInformation.useVariationDescriptionForVariableProducts" value="1" />Use the variation description for variable products</label> |
| 40 | </div> |
| 41 | <div class="input checkbox inner" ng-slide-down="basicInformation.useVariationDescriptionForVariableProducts" duration="0.2"> |
| 42 | <label><input type="checkbox" ng-model="basicInformation.useParentDescirptionIfThereIsNoVariationDescirption" value="1" />If there is no variation description, use the parent product description</label> |
| 43 | </div> |
| 44 | |
| 45 | <h4>Link</h4> |
| 46 | <div class="input"> |
| 47 | <label><input type="radio" ng-model="basicInformation.itemLink" value="productLink"/>Use the product permalink</label> |
| 48 | </div> |
| 49 | |
| 50 | <div class="input"> |
| 51 | <label><input type="radio" ng-model="basicInformation.itemLink" value="customValue" />Custom data</label> |
| 52 | <div class="input inner" ng-slide-down="basicInformation.itemLink == 'customValue'" duration="0.2"> |
| 53 | <input type="text" class="wpae-default-input" ng-model="basicInformation.itemLinkCV" droppable /> |
| 54 | </div> |
| 55 | </div> |
| 56 | |
| 57 | <div class="input checkbox"> |
| 58 | <label><input type="checkbox" ng-model="basicInformation.addVariationAttributesToProductUrl" />For variable products, add variation attributes to product URL</label> |
| 59 | </div> |
| 60 | |
| 61 | <h4>Main Image Link</h4> |
| 62 | <div class="input"> |
| 63 | <label><input type="radio" ng-model="basicInformation.itemImageLink" value="useProductFeaturedImage"/>Use product featured image</label> |
| 64 | </div> |
| 65 | |
| 66 | <div class="input"> |
| 67 | <label><input type="radio" ng-model="basicInformation.itemImageLink" value="customValue" />Custom data</label> |
| 68 | <div class="input inner" ng-slide-down="basicInformation.itemImageLink == 'customValue'" duration="0.2"> |
| 69 | <input type="text" class="wpae-default-input" ng-model="basicInformation.itemImageLinkCV" droppable /> |
| 70 | </div> |
| 71 | </div> |
| 72 | |
| 73 | <div class="input checkbox"> |
| 74 | <label><input type="checkbox" ng-model="basicInformation.useVariationImage" />For variable products, use variation image</label> |
| 75 | </div> |
| 76 | |
| 77 | <div class="input checkbox inner" ng-slide-down="basicInformation.useVariationImage" duration="0.2"> |
| 78 | <label><input type="checkbox" ng-model="basicInformation.useFeaturedImageIfThereIsNoVariationImage" value="1" />If there is no variation image, use the featured image</label> |
| 79 | </div> |
| 80 | |
| 81 | <h4>Additional Image Link</h4> |
| 82 | <div class="input"> |
| 83 | <label><input type="radio" ng-model="basicInformation.additionalImageLink" value="productImages"/>Use images from product gallery</label> |
| 84 | </div> |
| 85 | |
| 86 | <div class="input"> |
| 87 | <label><input type="radio" ng-model="basicInformation.additionalImageLink" value="customValue" />Custom data</label> |
| 88 | <div class="input inner" ng-slide-down="basicInformation.additionalImageLink == 'customValue'" duration="0.2"> |
| 89 | <input type="text"class="wpae-default-input" ng-model="basicInformation.additionalImageLinkCV" droppable /> |
| 90 | </div> |
| 91 | </div> |
| 92 | </div> |
| 93 | <div class="wpallexport-collapsed wpallexport-section wpallexport-google-merchants-advanced-options" ng-init="advancedOptionsOpen = false" ng-class="{closed: !advancedOptionsOpen}"> |
| 94 | <div class="wpallexport-content-section rad0"> |
| 95 | <div class="wpallexport-collapsed-header wpallexport-advanced-options-header disable-jquery" ng-click="advancedOptionsOpen = !advancedOptionsOpen"> |
| 96 | <h3>Advanced Options</h3> |
| 97 | </div> |
| 98 | <div class="wpallexport-collapsed-content wpallexport-advanced-options-content" ng-slide-down="advancedOptionsOpen" duration="0.5"> |
| 99 | <div class="wpallexport-collapsed-content-inner"> |
| 100 | <div class="input"> |
| 101 | <h4>Item ID</h4> |
| 102 | <div class="input"> |
| 103 | <input type="text" class="wpae-default-input" ng-model="basicInformation.itemId" droppable /> |
| 104 | </div> |
| 105 | <h4>Item Condition</h4> |
| 106 | <div class="input"> |
| 107 | <input type="text" class="wpae-default-input" ng-model="basicInformation.condition" droppable /> |
| 108 | <a href="" class="wpae-field-mapping" ng-click="showConditionMappings=true">Field Options...</a> |
| 109 | <mapping mappings="basicInformation.conditionMappings" show="showConditionMappings" context="condition" /> |
| 110 | <a style="margin-top: 7px;" class="wpallexport-help" tipsy="The condition or state of the item. Google Shopping allows the promotion of quality second-hand items. There are only 3 accepted values: 'new', 'refurbished', and 'used'">?</a> |
| 111 | </div> |
| 112 | <h4>Mobile Link</h4> |
| 113 | <div class="input"> |
| 114 | <input type="text" class="wpae-default-input" ng-model="basicInformation.mobileLink" droppable /> |
| 115 | </div> |
| 116 | </div> |
| 117 | </div> |
| 118 | </div> |
| 119 | </div> |
| 120 | </div> |
| 121 | </div> |
| 122 | </div> |
| 123 | </div> |