Created
February 8, 2019 20:05
-
-
Save steveosoule/638b66ad6c621256844671fec18ca501 to your computer and use it in GitHub Desktop.
miva-common-provisioning.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
======================================== | |
Categories | |
======================================== | |
--> | |
<!-- Category Add --> | |
<Category_Add> | |
<Code>espresso-machines</Code> | |
<Name><![CDATA[Espresso Machines]]></Name> | |
</Category_Add> | |
<!-- Category Update --> | |
<Category_Update code="espresso-machines"> | |
<Active>1</Active> | |
<PageTitle><![CDATA[Espresso Machines | Best Espresso Makers]]></PageTitle> | |
</Category_Update> | |
<!-- Assign Parent Category --> | |
<Category_Update code="Smp_Melee"> | |
<ParentCategoryCode>Weapons</ParentCategoryCode> | |
</Category_Update> | |
<!-- Category URI Add --> | |
<URI_Add uri="/espresso-machines" category_code="espresso-machines" canonical="1"/> | |
<URI_Add uri="/espresso-machines" category_code="espresso-machines" status="301"/> | |
<!-- Category Meta Description / Meta Keywords --> | |
<Module code="cmp-mv-prodctgy-meta" feature="component"> | |
<METAFieldValue_Category category_code="espresso-machines" name="description"> | |
<![CDATA[Shop the best espresso machines to brew authentic Italian espresso and prepare delicious cappuccino and latte drinks right in your home or office with ease.]]> | |
</METAFieldValue_Category> | |
<METAFieldValue_Category category_code="espresso-machines" name="keywords"> | |
<![CDATA[Some key, words, go, here]]> | |
</METAFieldValue_Category> | |
</Module> | |
<!-- Category Title --> | |
<Module code="cmp-cssui-cattitle" feature="component"> | |
<Image category_code="not_cat_01">not_cat_01 cattree</Image> | |
</Module> | |
<!-- Category Tree --> | |
<Module code="cmp-cssui-cattree" feature="component"> | |
<Image category_code="not_cat_01">not_cat_01 cattitle</Image> | |
<Header_Update> | |
<Template> | |
Nice Template | |
</Template> | |
<!-- OR --> | |
<Template_File>fake_file.html</Template_File> | |
</Header_Update> | |
<Footer_Update> | |
<Template> | |
Nice Template | |
</Template> | |
<!-- OR --> | |
<Template_File>fake_file.html</Template_File> | |
</Footer_Update> | |
<Fields> | |
<Custom module="customfields" code="templatefeed_component_prov_product_cf" /> | |
</Fields> | |
<CatTree_Update> | |
<Template><![CDATA[<div id="category-tree"> | |
<mvt:foreach array="cattree_categories" iterator="cattree_category"> | |
<mvt:if expr="l.settings:cattree_category:code EQ g.Category_Code"> | |
<div class="level-&mvte:cattree_category:level; active"> | |
<mvt:else> | |
<div class="level-&mvte:cattree_category:level;"> | |
</mvt:if> | |
<a href="&mvte:cattree_category:link;"> | |
<mvt:if expr="l.settings:cattree_category:image"> | |
<img src="&mvte:cattree_category:image;" alt="&mvte:cattree_category:name;" /> | |
<mvt:else> | |
&mvte:cattree_category:name; | |
</mvt:if> | |
&mvt:customfield_names:customfields:cattree_a;: &mvte:cattree_category:customfield_values:customfields:cattree_a; | |
&mvt:customfield_names:customfields:cattree_b;: &mvte:cattree_category:customfield_values:customfields:cattree_b; | |
</a> | |
</div> | |
</mvt:foreach> | |
</div>]]></Template> | |
</CatTree_Update> | |
</Module> | |
<!-- Category Custom Fields --> | |
<Module code="customfields" feature="fields_cat"> | |
<Group_Add> | |
<Code>migration</Code> | |
<Name>Migration</Name> | |
</Group_Add> | |
<CategoryField_Add> | |
<Code>erp_id</Code> | |
<Name>ERP ID</Name> | |
<FieldType>textfield</FieldType><!-- textfield,textarea,dropdown,radio,checkbox,imageupload --> | |
<Group>migration</Group> | |
</CategoryField_Add> | |
<CategoryField_Update code="code"> | |
<Code>code</Code> | |
<Name>name</Name> | |
</CategoryField_Update> | |
<CategoryField_Delete code="code" /> | |
<CategoryField_Value category="category_code" field="field_code">Value</CategoryField_Value> | |
</Module> | |
<!-- | |
======================================== | |
Products | |
======================================== | |
--> | |
<!-- Product Add --> | |
<Product_Add> | |
<Code>14</Code> | |
<Name><![CDATA[AFE Stage 1 Cold Air Intake System Type Cx 54-10611]]></Name> | |
</Product_Add> | |
<!-- Product Update --> | |
<Product_Update code="14"> | |
<Code>new_code</Code> | |
<SKU>AFE54-10611</SKU> | |
<Name>New Name</Name> | |
<Price>262.92</Price> | |
<Cost>150.76</Cost> | |
<Weight>13.00</Weight> | |
<Description><![CDATA[01-05 GM 6.6L Duramax LB7/LLY]]></Description> | |
<Taxable>1</Taxable> | |
<Active>1</Active> | |
<PageTitle>AFE Stage 1 Cold Air Intake System Type Cx 54-10611</PageTitle> | |
<ThumbnailImage>/path/to/img.jpg</ThumbnailImage> <!-- Legacy thumbnails --> | |
<FullSizeImage>/path/to/img.jpg</FullSizeImage> <!-- Legacy main image --> | |
<CanonicalCategoryCode>category_code</CanonicalCategoryCode> | |
<AlternateDisplayPage>page_code</AlternateDisplayPage> | |
</Product_Update> | |
<!-- Product Images --> | |
<ProductImage_Delete_All_Product product_code="p1" /> | |
<ProductImage_Add product_code="p1" filepath="graphics/00000001/s2k_silver_front.jpg" imagetype_code="main" /> | |
<!-- Meta Fields --> | |
<Module code="cmp-mv-prodctgy-meta" feature="component"> | |
<METAFieldValue_Product product_code="14" name="description"><![CDATA[Shop AFE Stage 1 Cold Air Intake System Type Cx 54-10611 for the 01-05 GM 6.6L Duramax LB7/LLY]]></METAFieldValue_Product> | |
</Module> | |
<Module code="cmp-mv-prodctgy-meta" feature="component"> | |
<METAFieldValue_Product product_code="14" name="keywords"><![CDATA[AFE,54-10611]]></METAFieldValue_Product> | |
</Module> | |
<!-- Attributes - Add --> | |
<ProductAttribute_Add product_code="chest"> | |
<Code>attr_test_prod</Code> | |
<Type>select</Type><!-- radio,select,checkbox,text,memo,swatch-select --> | |
<Prompt><![CDATA[Lock]]></Prompt> | |
<Image></Image><!-- Optional --> | |
<Price>0.00</Price><!-- Optional --> | |
<Cost>0.00</Cost><!-- Optional --> | |
<Weight>0.00</Weight><!-- Optional --> | |
<Required>Yes</Required><!-- Optional --> | |
<Inventory>Yes</Inventory><!-- Optional --> | |
</ProductAttribute_Add> | |
<!-- Attributes - Update --> | |
<ProductAttribute_Update product_code="mail-scale" attribute_code="skirt"> | |
<Code>skirt</Code> | |
<Type>checkbox</Type><!-- radio,select,checkbox,text,memo,swatch-select --> | |
<Prompt><![CDATA[Include the skirting (+90 sp)]]></Prompt> | |
<Image></Image> | |
<Price>90.00</Price> | |
<Cost>68.00</Cost> | |
<Weight>0.00</Weight> | |
<Required>No</Required> | |
<Inventory>Yes</Inventory> | |
</ProductAttribute_Update> | |
<!-- Attributes - Delete --> | |
<ProductAttribute_Delete product_code="mail-scale" attribute_code="skirt" /> | |
<ProductAttribute_Delete_All product_code="mail-scale" /> | |
<!-- Assign Attribute Template - Copy --> | |
<ProductAttribute_Add_TemplateCopy product_code="product1" attribute_template_code="spikes-shield" /> | |
<!-- Attribute Options - Add --> | |
<ProductAttributeOption_Add product_code="chest" attribute_code="lock"> | |
<Code>none</Code> | |
<Prompt><![CDATA[None]]></Prompt> | |
<Image></Image> | |
<Price>0.00</Price> | |
<Cost>0.00</Cost> | |
<Weight>0.00</Weight> | |
<DefaultOption>Yes</DefaultOption> | |
</ProductAttributeOption_Add> | |
<!-- Attribute Options - Update --> | |
<ProductAttributeOption_Update product_code="chest" attribute_code="trap" option_code="fireball"> | |
<Code>fireballz</Code> | |
<Prompt><![CDATA[Fireball (+ 500 sp)]]></Prompt> | |
<Image></Image> | |
<Price>500.00</Price> | |
<Cost>700.00</Cost> | |
<Weight>0.00</Weight> | |
<DefaultOption>No</DefaultOption> | |
</ProductAttributeOption_Update> | |
<!-- Attribute Options - Delete --> | |
<ProductAttributeOption_Delete product_code="chest" attribute_code="trap" option_code="fireballz" /> | |
<!-- Add Product Variant --> | |
<ProductVariant_Add product_code="test"> | |
<Options> | |
<Attribute_Option attribute_code="select" option_code="s1" /> | |
<Attribute_Boolean attribute_code="text" present="true" /> | |
<AttributeTemplateAttribute_Boolean attribute_code="test" attributetemplateattribute_code="checkbox" present="false" /> | |
<AttributeTemplateAttribute_Option attribute_code="test" attributetemplateattribute_code="radio" option_code="r2" /> | |
</Options> | |
<Parts> | |
<Part product_code="part" quantity="5" /> | |
</Parts> | |
<ProductVariantPricing> | |
<Method>sum</Method> | |
<!-- or --> | |
<Method>master</Method> | |
<!-- or --> | |
<Method>specific</Method> | |
<Price>5.43</Price> | |
<Cost>4.31</Cost> | |
<Weight>3.21</Weight> | |
</ProductVariantPricing> | |
</ProductVariant_Add> | |
<!-- Product Inventory Settings --> | |
<InventoryProductSettings_Update product_code="ale-gallon"> | |
<TrackProduct>Yes</TrackProduct> | |
<AdjustStockBy>500</AdjustStockBy> | |
<CurrentStock>1000</CurrentStock> | |
<InStockMessageShort><![CDATA[]]></InStockMessageShort> | |
<InStockMessageLong><![CDATA[]]></InStockMessageLong> | |
<TrackLowStockLevel>Yes</TrackLowStockLevel> | |
<LowStockLevel>Default</LowStockLevel> | |
<LowStockMessageShort><![CDATA[]]></LowStockMessageShort> | |
<LowStockMessageLong><![CDATA[]]></LowStockMessageLong> | |
<TrackOutOfStockLevel>Yes</TrackOutOfStockLevel> | |
<HideOutOfStockProducts>Yes</HideOutOfStockProducts> | |
<OutOfStockLevel>Default</OutOfStockLevel> | |
<OutOfStockMessageShort><![CDATA[]]></OutOfStockMessageShort> | |
<OutOfStockMessageLong><![CDATA[]]></OutOfStockMessageLong> | |
<LimitedStockMessage><![CDATA[]]></LimitedStockMessage> | |
</InventoryProductSettings_Update> | |
<!-- Assign Category --> | |
<CategoryProduct_Assign category_code="12" product_code="15"/> | |
<!-- Assign Related Product --> | |
<ProductRelatedProduct_Assign product_code="bolts" relatedproduct_code="bolts-silver" /> | |
<!-- Product Custom Fields --> | |
<Module code="customfields" feature="fields_prod"> | |
<Group_Add> | |
<Code>migration</Code> | |
<Name>Migration</Name> | |
</Group_Add> | |
<!-- Add Custom Field --> | |
<ProductField_Add> | |
<Code>code</Code> | |
<Name>name</Name> | |
<FieldType>textfield</FieldType><!-- textfield,textarea,dropdown,radio,checkbox,imageupload --> | |
<Facet>1</Facet> | |
<Group>migration</Group> | |
</ProductField_Add> | |
<!-- Update Custom Field --> | |
<ProductField_Update code="code"> | |
<Code>code</Code> | |
<Name>name</Name> | |
</ProductField_Update> | |
<!-- Delete Custom Field --> | |
<ProductField_Delete code="code" /> | |
<!-- Set Custom Field Value --> | |
<ProductField_Value product="prod_code" field="field_code">Value</ProductField_Value> | |
<!-- Add Custom Field Option --> | |
<ProductFieldTypeOption_Add code="code" value="test1" /> | |
</Module> | |
<!-- Product Shipping Rules --> | |
<ProductShippingRules_Update product_code="prod"> | |
<ShipsInOwnPackaging>Yes</ShipsInOwnPackaging> | |
<Width>1.23</Width> | |
<Length>1.23</Length> | |
<Height>1.23</Height> | |
<LimitShippingMethods>No</LimitShippingMethods> | |
<ShippingMethods> | |
<ShippingMethod module_code="upsxml" method_code="02" /> (multiple allowed) | |
</ShippingMethods> | |
</ProductShippingRules_Update> | |
<!-- Product Price Group Assign --> | |
<PriceGroupProduct_Assign group_name="GROUP_NAME" product_code="PRODUCT_CODE" /> | |
<!-- Product Availability Group assignment --> | |
<AvailabilityGroupProduct_Assign group_name="Thief" product_code="kit-disguise" /> | |
<!-- Product Discount Volume Pricing --> | |
<Module code="discount_volume" feature="discount"> | |
<ProductPricingTable product_code="PRODUCT_CODE" group_name="GROUP_NAME"> | |
<!-- percent = Percent Discount, fixed = Fixed Discount, absolute = Absolute Price --> | |
<Entry quantity="NUMBER" type="fixed,percent,absolute" amount="float_val" /> | |
</ProductPricingTable> | |
</Module> | |
<!-- Product Sale Pricing --> | |
<Module code="discount_saleprice" feature="fields_prod"> | |
<ProductSalePrice group_name="Sale Price" product_code="prod1">5.00</ProductSalePrice> | |
</Module> | |
<!-- Product Header / Footer Update --> | |
<Module code="cmp-cssui-pchdft" feature="component"> | |
<Product_Header product_code="6HCCB2167"> | |
<Template>Product header test</Template> | |
</Product_Header> | |
<Product_Footer product_code="6HCCB2167"> | |
<Template>Product footer test</Template> | |
</Product_Footer> | |
</Module> | |
<!-- | |
======================================== | |
URIs | |
======================================== | |
--> | |
<!-- Add Uri (R=301) --> | |
<URI_Add uri="/afestage1magnumforceairintakesystem.aspx" product_code="14" status="301"/> | |
<!-- Add Uri (Canonical) --> | |
<URI_Add uri="/afestage1magnumforceairintakesystem.aspx" product_code="14" canonical="1"/> | |
<!-- | |
======================================== | |
Customers | |
======================================== | |
--> | |
<!-- Customer Add --> | |
<Customer_Add> | |
<Login>c1</Login> | |
<LostPasswordEmail>noreply@miva.com</LostPasswordEmail> | |
<Password>c1</Password> | |
</Customer_Add> | |
<!-- Customer Update --> | |
<Customer_Update login=""> | |
<Login></Login> | |
<LostPasswordEmail></LostPasswordEmail> | |
<Password></Password> | |
<BusinessAccount></BusinessAccount> | |
<ShipResidential></ShipResidential> | |
<ShipFirstName></ShipFirstName> | |
<ShipLastName></ShipLastName> | |
<ShipEmail></ShipEmail> | |
<ShipCompany></ShipCompany> | |
<ShipPhone></ShipPhone> | |
<ShipFax></ShipFax> | |
<ShipAddress></ShipAddress> | |
<ShipAddress1></ShipAddress1> | |
<ShipAddress2></ShipAddress2> | |
<ShipCity></ShipCity> | |
<ShipStateCode></ShipStateCode> | |
<ShipZip></ShipZip> | |
<ShipCountryCode></ShipCountryCode> | |
<ShippingAddressDescription></ShippingAddressDescription> | |
<BillFirstName></BillFirstName> | |
<BillLastName></BillLastName> | |
<BillEmail></BillEmail> | |
<BillCompany></BillCompany> | |
<BillPhone></BillPhone> | |
<BillFax></BillFax> | |
<BillAddress></BillAddress> | |
<BillAddress1></BillAddress1> | |
<BillAddress2></BillAddress2> | |
<BillCity></BillCity> | |
<BillStateCode></BillStateCode> | |
<BillZip></BillZip> | |
<BillCountryCode></BillCountryCode> | |
<BillingAddressDescription></BillingAddressDescription> | |
</Customer_Update> | |
<!-- Customer Address Add --> | |
<!-- Required fields are based on the Store Settings > Customer Fields options --> | |
<CustomerAddress_Add customer="test"> | |
<Description>New Address</Description><!-- Optional: Defaults to the <Address> tag value --> | |
<FirstName>Kyle</FirstName> | |
<LastName>Hansen</LastName> | |
<Email>is@thebest.com</Email> | |
<Company>Awesome</Company> | |
<Phone>7604212124</Phone> | |
<Fax>7602452456</Fax> | |
<Address>1234 Awesome Street</Address> | |
<Address2>Suite Sickness</Address2> | |
<City>Awesome</City> | |
<State>CA</State> | |
<Zip>92127</Zip> | |
<Country>US</Country> | |
<CustomerShippingAddress>Yes</CustomerShippingAddress><!-- Set shipping address as default --> | |
<CustomerBillingAddress>Yes</CustomerBillingAddress><!-- Set billing address as default --> | |
<!-- | |
Residential flag | |
Default to Yes if not present and <Company> field is empty | |
Defaults to no if <Company> field is not empty | |
--> | |
<Residential>Yes</Residential> | |
</CustomerAddress_Add> | |
<!-- Customer Address Update --> | |
<CustomerAddress_Update customer="test_update" address="Address description to update|Address line 1 value"> | |
<Description>New Address</Description> | |
<FirstName>Kyle</FirstName> | |
<LastName>Hansen</LastName> | |
<Email>is@thebest.com</Email> | |
<Company>Awesome</Company> | |
<Phone>7604212124</Phone> | |
<Fax>7602452456</Fax> | |
<Address>1234 Awesome Street</Address> | |
<Address2>Suite Sickness</Address2> | |
<City>Awesome</City> | |
<State>CA</State> | |
<Zip>92127</Zip> | |
<Country>US</Country> | |
<CustomerShippingAddress>Yes</CustomerShippingAddress><!-- Set shipping address as default --> | |
<CustomerBillingAddress>Yes</CustomerBillingAddress><!-- Set billing address as default --> | |
<!-- | |
Residential flag | |
Default to Yes if not present and <Company> field is empty | |
Defaults to no if <Company> field is not empty | |
--> | |
<Residential>Yes</Residential> | |
</CustomerAddress_Update> | |
<!-- Customer availability group assignment --> | |
<AvailabilityGroupCustomer_Assign group_name="Thief" customer_login="rogue" /> | |
<!-- Customer custom fields --> | |
<Module code="customfields" feature="fields_cust"> | |
<Group_Add> | |
<Code>migration</Code> | |
<Name>Migration</Name> | |
</Group_Add> | |
<CustomerField_Add> | |
<Code>erp_id</Code> | |
<Name>ERP ID</Name> | |
<FieldType>textfield</FieldType><!-- textfield,textarea,dropdown,radio,checkbox,imageupload --> | |
<Group>migration</Group> | |
</CustomerField_Add> | |
<CustomerField_Update code="code"> | |
<Code>code</Code> | |
<Name>name</Name> | |
</CustomerField_Update> | |
<CustomerField_Delete code="code" /> | |
<CustomerField_Value customer="customer_login" field="field_code">Value</CustomerField_Value> | |
</Module> | |
<!-- Customer Notes --> | |
<Note_Add customer="cust_login">Customer note test!</Note_Add> | |
<!-- Add Business Account --> | |
<BusinessAccount_Add> | |
<Title></Title> | |
</BusinessAccount_Add> | |
<!-- | |
======================================== | |
Orders | |
======================================== | |
--> | |
<!-- Order Add --> | |
<Order_Add> | |
<ID>1000</ID><!-- Optional --> | |
</Order_Add> | |
<!-- Order Update --> | |
<Order_Update order_id="{order_id}"> | |
<OrderDate> | |
<Day>01</Day><!-- required --> | |
<Month>01</Month><!-- required --> | |
<Year>1970</Year><!-- required --> | |
<Hour>12</Hour><!-- optional --> | |
<Minute>30</Minute><!-- optional --> | |
<Second>12</Second><!-- optional --> | |
</OrderDate> | |
<CustomerLogin>jburchmore</CustomerLogin> | |
<ShipFirstName>Jonathan</ShipFirstName> | |
<ShipLastName>Burchmore</ShipLastName> | |
<ShipEmail>jburchmore@mivamerchant.com</ShipEmail> | |
<ShipCompany></ShipCompany> | |
<ShipPhone>858-361-5922</ShipPhone> | |
<ShipFax>858-361-5922</ShipFax> | |
<ShipAddress1>5060 Shoreham Place</ShipAddress1> | |
<ShipAddress2>Suite 330</ShipAddress2> | |
<ShipCity>San Diego</ShipCity> | |
<ShipState>CA</ShipState> | |
<ShipZip>92122</ShipZip> | |
<ShipCountry>US</ShipCountry> | |
<BillFirstName>Patrick</BillFirstName> | |
<BillLastName>Stearns</BillLastName> | |
<BillEmail>pstearns@miva.com</BillEmail> | |
<BillCompany></BillCompany> | |
<BillPhone>858-731-4124</BillPhone> | |
<BillFax>858-731-4124</BillFax> | |
<BillAddress1>16745 W Bernardo Dr</BillAddress1> | |
<BillAddress2>Suite 400</BillAddress2> | |
<BillCity>San Diego</BillCity> | |
<BillState>CA</BillState> | |
<BillZip>92127</BillZip> | |
<BillCountry>US</BillCountry> | |
<Items> | |
<!-- Simple product example --> | |
<Item> | |
<Code>prod1</Code> | |
<Name>Test Product #1</Name> | |
<Price>10</Price> | |
<Weight>0.25</Weight> | |
<Quantity>1</Quantity> | |
<Status>Pending|Picking|Shipped|Cancelled|Backordered|RMA Issued|Returned</Status> | |
</Item> | |
<!-- Product with attribute/options example --> | |
<Item> | |
<Code>prod2</Code> | |
<Name>Test Product #2</Name> | |
<Price>5.00</Price> | |
<Weight>0</Weight> | |
<Quantity>3</Quantity> | |
<Options> | |
<Option><!-- Drop-down List attribute / option selection --> | |
<AttributeCode>attr1</AttributeCode> | |
<OptionCode>opt2</OptionCode> | |
<Price>1.00</Price> | |
</Option> | |
<Option> | |
<AttributeCode>test</AttributeCode> | |
<Data>Yes</Data><!-- Ex: Text Field or Checkbox value --> | |
</Option> | |
<Option> | |
<AttributeCode>yellow</AttributeCode> | |
</Option> | |
</Options> | |
<!-- Status or Tracking tags below for shipment info | |
Pending => 000 | |
Picking => 100 | |
Shipped => 200 | |
Cancelled => 300 | |
Backordered => 400 | |
RMA Issued => 500 | |
Returned => 600 | |
--> | |
<Status>Pending|Picking|Shipped|Cancelled|Backordered|RMA Issued|Returned</Status> | |
<!-- Shipment must match a <Shipment> tag below --> | |
<TrackingNumber>1111111111</TrackingNumber> | |
<TrackingType>FedEx</TrackingType><!-- Optional --> | |
</Item> | |
<!-- OR --> | |
<!-- Linked in store product --> | |
<Product code="test"> | |
<Quantity>1</Quantity> | |
<Options> | |
<Option> | |
<AttributeCode>test</AttributeCode> | |
<Data>Yes</Data> | |
</Option> | |
</Options> | |
<!-- Status or Tracking tags below for shipment info | |
Pending => 000 | |
Picking => 100 | |
Shipped => 200 | |
Cancelled => 300 | |
Backordered => 400 | |
RMA Issued => 500 | |
Returned => 600 | |
--> | |
<Status>Pending|Picking|Shipped|Cancelled|Backordered|RMA Issued|Returned</Status> | |
<!-- Shipment must match a <Shipment> tag below --> | |
<TrackingNumber>1111111111</TrackingNumber> | |
<TrackingType>FedEx</TrackingType><!-- Optional --> | |
</Product> | |
</Items> | |
<Charges> | |
<Charge> | |
<Type>SHIPPING</Type> | |
<Description>Shipping: UPS Ground</Description> | |
<Amount>9.95</Amount> | |
</Charge> | |
<Charge> | |
<Type>TAX</Type> | |
<Description>Sales Tax</Description> | |
<Amount>3</Amount> | |
</Charge> | |
</Charges> | |
<!-- Shipment - Tracking number must match an item shipment above --> | |
<Shipment> | |
<Code>Ship_Code</Code> | |
<Cost>1</Cost><!-- Optional --> | |
<MarkAsShipped>Yes</MarkAsShipped> | |
<TrackingNumber>1111111111</TrackingNumber> | |
<TrackingType>FedEx</TrackingType> | |
<ShipDate><!-- Optional --> | |
<Day>7</Day> | |
<Month>9</Month> | |
<Year>2012</Year> | |
</ShipDate> | |
</Shipment> | |
</Order_Update> | |
<!-- Order Item Update --> | |
<Order_Update_Item order_id="" line_id=""> | |
<Code>prod2</Code> | |
<Name>Test Product #2</Name> | |
<Price>5.00</Price> | |
<Weight>0</Weight> | |
<Quantity>3</Quantity> | |
<Options> | |
<Option> | |
<AttributeCode>yellow</AttributeCode> | |
</Option> | |
</Options> | |
<!-- Status or Tracking tags below for shipment info | |
Pending => 000 | |
Picking => 100 | |
Shipped => 200 | |
Cancelled => 300 | |
Backordered => 400 | |
RMA Issued => 500 | |
Returned => 600 | |
--> | |
<Status>Pending|Picking|Shipped|Cancelled|Backordered|RMA Issued|Returned</Status> | |
<!-- Shipment must match a <Shipment> tag below --> | |
<TrackingNumber>1111111111</TrackingNumber> | |
<TrackingType>FedEx</TrackingType><!-- Optional --> | |
</Order_Update_Item> | |
<!-- Order Item Add --> | |
<Order_Add_Item order_id="1000"> (Required - order_id) | |
<Code>test</Code> | |
<Name>Test Product #1</Name> | |
<Price>1</Price> | |
<Weight>0</Weight> | |
<Quantity>1</Quantity> | |
<Options> | |
<Option> | |
<AttributeCode>test</AttributeCode> | |
</Option> | |
<Option> | |
<AttributeCode>template_attr</AttributeCode> | |
<Price>1.00</Price> | |
<OptionCode>v1</OptionCode> | |
</Option> | |
<Option> | |
<AttributeCode>template_attr</AttributeCode> | |
<Data>Attribute value</Data> | |
</Option> | |
</Options> | |
<Shipment> (Optional) | |
<Code>Ship_Code</Code> (Optional) | |
<Cost>1</Cost> (Optional) | |
<MarkAsShipped>Yes</MarkAsShipped> (Optional) | |
<TrackingNumber>1111111111</TrackingNumber> (Required) | |
<TrackingType>FedEx</TrackingType> (Required) | |
<ShipDate> (Optional) | |
<Day>7</Day> | |
<Month>9</Month> | |
<Year>2012</Year> | |
</ShipDate> | |
</Shipment> | |
</Order_Add_Item> | |
<!-- Create Shipment --> | |
<OrderShipment_Add order_id="1000"> | |
<!-- Products included in shipment --> | |
<ProductList> | |
<Product product_code="test1" quantity="1"/> | |
<Product product_code="test2" quantity="2"/> | |
</ProductList> | |
<!-- Can be set to to any value, however, the value must be unique. 50 characters max. --> | |
<Code>1000-1</Code> | |
</OrderShipment_Add> | |
<OrderShipment_SetStatus code="1000-1"> | |
<MarkAsShipped>1</MarkAsShipped> | |
<TrackingNumber>0123456</TrackingNumber> | |
<TrackingType>UPS</TrackingType> <!-- Optional --> | |
<ShipDate> | |
<Year>2017</Year> | |
<Month>05</Month> | |
<Day>09</Day> | |
<Hour>12</Hour> <!-- Optional --> | |
<Minute>30</Minute> <!-- Optional --> | |
<Second>30</Second> <!-- Optional --> | |
</ShipDate> | |
</OrderShipment_SetStatus> | |
<!-- Order Customfields --> | |
<Module code="customfields" feature="fields_ordr"> | |
<OrderField_Value order="{order_id}" field="{cf_code}"><![CDATA[{cfvalue}]]></OrderField_Value> | |
</Module> | |
<!-- Order Notes --> | |
<Note_Add order="97202">Order note test!</Note_Add> | |
<!-- | |
======================================== | |
Pages | |
======================================== | |
--> | |
<!-- Page Meta Fields --> | |
<Module code="cmp-mv-prodctgy-meta" feature="component"> | |
<!-- Valid `name` attributes listed in s01_METANames --> | |
<METAFieldValue_Page page_code="miva_test" name="keywords"><![CDATA[Keywords]]></METAFieldValue_Page> | |
<METAFieldValue_Page page_code="miva_test" name="description"><![CDATA[Description]]></METAFieldValue_Page> | |
<METAFieldValue_Page page_code="miva_test" name="title"><![CDATA[Title]]></METAFieldValue_Page> | |
<METAFieldValue_Page page_code="miva_test" name="robots"><![CDATA[Robots]]></METAFieldValue_Page> | |
</Module> | |
<!-- | |
======================================== | |
Combination Facets | |
======================================== | |
--> | |
<Module code="combofacets" feature="util"> | |
<CombinationFacet_Add> | |
<Code>facet_code</Code> | |
<Name>Facet Name</Name> | |
<Enabled>1</Enabled> | |
<IncludeOtherProducts>0</IncludeOtherProducts> | |
</CombinationFacet_Add> | |
<CombinationFacetField_Add facet_code="facet_code"> | |
<Code>facet_field_code</Code> | |
<Name>Facet Field Name</Name> | |
</CombinationFacetField_Add> | |
<CombinationFacetField_Add facet_code="facet_code2"> | |
<Code>facet_field_code2</Code> | |
<Name>Facet Field Name 2</Name> | |
</CombinationFacetField_Add> | |
<CombinationFacetRecord_Add facet_code="facet_code" product_code="prod1"> | |
<CombinationFacetField field_code="facet_field_code"><![CDATA[Facet Field Value]]></CombinationFacetField> | |
<CombinationFacetField field_code="facet_field_code2"><![CDATA[Facet Field2 Value]]></CombinationFacetField> | |
</CombinationFacetRecord_Add> | |
<CombinationFacetRecord_Add facet_code="facet_code" product_code="prod1"> | |
<CombinationFacetField field_code="facet_field_code"><![CDATA[Another Facet Field Value]]></CombinationFacetField> | |
<CombinationFacetField field_code="facet_field_code2"><![CDATA[Another Facet Field2 Value]]></CombinationFacetField> | |
</CombinationFacetRecord_Add> | |
</Module> | |
<!-- | |
======================================== | |
Ready Themes | |
======================================== | |
--> | |
<!-- Readytheme Images --> | |
<Module code="readytheme" feature="util"> | |
<Image_Add> | |
<Code></Code> <!-- Required --> | |
<Name></Name> <!-- Required --> | |
<Image>graphics/00000001/1601v01_LF_MobileHero_DR.jpg</Image> <!-- Required --> | |
<Active></Active> | |
<Resize></Resize> | |
<Width></Width> | |
<Height></Height> | |
<Alt></Alt> | |
<CSS_ID></CSS_ID> | |
<CSS_Class></CSS_Class> | |
</Image_Add> | |
<Image_Update code="test"> | |
<Code>test_1</Code> | |
<Image>graphics/00000001/1601v01_LF_MobileHero_DR.jpg</Image> | |
</Image_Update> | |
</Module> | |
<!-- | |
======================================== | |
Dynamic Order Export - DOE | |
======================================== | |
--> | |
<Module code="dynamicorderexport" feature="util"> | |
<ModificationKey_Reset orders="true" order_ids="xxx,xxx" param="LTC" /> | |
<ModificationKey_Reset orders="true" first_order_id="xxx" last_order_id="xxx" param="LTC" /> | |
</Module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment