- Download a .CSV file from Data Management.
- Open it in Sublime (or other text editor with a RegEx search).
- Use the RegEx to search for "non-standard" characters.
- Replace them with their HTML entity equivalent. (http://www.amp-what.com/)
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
import {FormProxy} from './form-proxy.js'; | |
class MyComponent extends FormProxy(LitElement) { | |
render () { | |
return html` | |
<form> | |
<input type="text" /> | |
</form> | |
`; |
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
<Charges> | |
<Charge> | |
<Type>SHIPPING</Type> | |
<Description>Shipping: UPS Ground</Description> | |
<Amount>9.95</Amount> | |
<TaxExempt>Yes/No</TaxExempt> | |
</Charge> | |
</Charges> |
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
<!-- ==================== START MASTER ==================== --> | |
<!-- ADD MASTER PRODUCT --> | |
<Product_Add> | |
<Code>tshirt</Code> | |
<!-- | |
... | |
... | |
... | |
--> | |
<Active>Yes</Active> |
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
Storage: | |
1) Use global variables: | |
g.Rod = PRODUCT_CODE | |
g.Reel = PRODUCT_CODE | |
g.Line = PRODUCT_CODE | |
Select Button Action | |
1) Make the select button an anchor link using this template => |
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
<mvt:comment> | |
CONFIG | |
</mvt:comment> | |
<mvt:assign name="g.CONFIG:table_name" value="''" /> | |
<mvt:assign name="g.CONFIG:dt_column" value="''" /> | |
<mvt:comment> ================================================================================ </mvt:comment> | |
<mvt:comment> Set Content Type </mvt:comment> | |
<mvt:assign name="l.succes" value="miva_output_header( 'Content-Type', 'application/json' )" /> |
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
<ProductImage_Add product_code="test" filepath="graphics/00000001/image.jpg" type_code="" /> |
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
<mvt:comment> | |
CUSTOM Pre-Load Variant based off Passed Variant ID | |
</mvt:comment> | |
<mvt:if expr="NOT ISNULL g.v"> | |
<mvt:item name="ry_toolbelt" param="assign|g.sql|'SELECT attr_id, attmpat_id, option_id FROM s01_ProductVariants WHERE variant_id = `' $ MySqlEscape(g.v) $ '` AND product_id = `' $ MySqlEscape(l.all_settings:product:id) $ '`'" /> | |
<mvt:item name="ry_toolbelt" param="query|g.sql|variant_attributes" /> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="AttributeList_Load_Product(l.settings:product:id, l.settings:loaded_attributes)" /> | |
<mvt:foreach iterator="loaded_attribute" array="loaded_attributes"> |
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
<mvt:if expr="ISNULL g.Per_Page"> | |
<mvt:assign name="g.Per_Page" value="100" /> | |
</mvt:if> | |
<mvt:if expr="ISNULL g.AllOffset OR g.AllOffset EQ '@offset'"> | |
<mvt:assign name="g.AllOffset" value="0" /> | |
</mvt:if> | |
<mvt:foreach iterator="product" array="all_products:products"> | |
<mvt:comment> ==== custom logic here ==== </mvt:comment> |
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
<mvt:comment> | |
`Store_Category_URL` | |
NAME: The returned URI. | |
PARAMS: | |
[1] `category var` - The category variable (must include the category's id and code) | |
[2] `flag var` - Structure unknown (Supposed to return either HTTPS or HTTP version of the passed URI) | |
</mvt:comment> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:category:uri" value="Store_Category_URL(l.settings:category, NULL)" /> |
NewerOlder