Name | Submit Variable | Front End Variable | Default |
---|---|---|---|
Root Directory for Graphics | g.Domain_ImageRoot |
g.domain:image_root |
/mm5/ |
Secure Root Directory for Graphics | g.Domain_SecureBaseURL |
g.domain:img_sroot , g.imageroot |
/mm5/ |
Base URL for Graphics | g.Domain_BaseURL |
g.domain:base_url , g.baseurl |
http://www.example.com/mm5/ |
Secure Base URL for Graphics | g.Domain_SecureBaseURL |
g.domain:base_surl , g.secure_baseurl , g.basehref |
https://www.example.com/mm5/ |
Profile | download (kb/s) | upload (kb/s) | latency (ms) |
---|---|---|---|
Native | 0 | 0 | 0 |
GPRS | 50 | 20 | 500 |
56K Dial-up | 50 | 30 | 120 |
Mobile EDGE | 240 | 200 | 840 |
2G Regular | 250 | 50 | 300 |
2G Good | 450 | 150 | 150 |
3G Slow | 780 | 330 | 200 |
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:do file="g.Module_Feature_URI_DB" name="l.success" value="URISettings_Load_Cached( l.uri_settings )" /> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:request_url" value="URL_Build_URI( l.uri_settings, l.flags, s.request_uri, '' )" /> | |
&mvt:request_url; |
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:call action="'https://www.example.com'" method="'GET'"> | |
<mvt:assign name="l.settings:headers" value="s.callreturnheader" /> | |
</mvt:call> | |
<mvt:foreach iterator="header" array="headers"> | |
<mvt:if expr="'Content-Length:' IN l.settings:header EQ 1"> | |
<mvt:assign name="l.found" value="miva_splitstring( l.settings:header, ':', l.header_parts, 'trim' )" /> | |
<mvt:assign name="l.content_length" value="l.header_parts[2]" /> | |
</mvt:if> | |
</mvt:foreach> |
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
<pre> | |
@@price | |
product:price=&mvte:product:price; | |
product:inv_level=&mvte:product:inv_level; | |
attributemachine:product:price=&mvte:attributemachine:product:price; | |
attributemachine:product:inv_level=&mvte:attributemachine:product:inv_level; | |
attributemachine:variant_id=&mvte:attributemachine:variant_id; | |
<mvt:assign name="g.mvt_debug" value="glosub( miva_array_serialize( l.settings:product ), ',', asciichar( 10 ) )" /> | |
@@l.settings:product |
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
const tokenizeObject = (obj = {}, tokens = [], replacements = []) => { | |
if (!Array.isArray(tokens) || !Array.isArray(replacements) || tokens.length !== replacements.length) { | |
return obj; | |
} | |
const replacedJsonObj = tokens.reduce((jsonObj, token, i) => { | |
return jsonObj.replace(token, replacements[i]); | |
}, JSON.stringify(obj)); | |
return JSON.parse(replacedJsonObj); |
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="g.Session:cache:last_ui_exception EQ 'customer_invalid_addinfo' AND NOT ISNULL s.http_referer"> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.http_referer_uri" value="URL_To_URI( s.http_referer )" /> | |
<mvt:do file="g.Module_Feature_URI_DB" name="l.uri_found" value="URI_Load_URI( l.http_referer_uri, l.uri )" /> | |
<mvt:if expr="l.uri_found"> | |
<mvt:assign name="l.flags:sep" value="1" /> | |
<mvt:if expr="l.uri:product_id"> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="Product_Load_ID_Cached( l.uri:product_id, l.product )" /> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.referer_url" value="Store_Product_URL( l.product, l.flags )" /> | |
<mvt:elseif expr="l.uri:cat_id"> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="Category_Load_ID_Cached( l.uri:cat_id, l.category )" /> |
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
alias mmt-push-commit='mmt push --notes="mmt-push-commit: `git log --pretty=oneline -n 1`"' | |
alias mpc='mmt-push-commit' | |
alias mmt-tag-git-branch='mmt tag add $(git rev-parse --abbrev-ref HEAD)' | |
alias mmt-tag-git-commit='mmt tag add $(git rev-parse --short HEAD)' | |
function mmt-push() { | |
mmt tag delete --all | |
mmt-tag-git-branch | |
mmt-tag-git-commit |
Breakpoint Name | Device | Min Pixels | Max Pixels | Min Em | Max Em |
---|---|---|---|---|---|
Extra-Small | Mobile (Small) | 0 | 639.98 | 0 | 39.999 |
Small | Mobile (Large) | 640 | 767.98 | 40 | 47.999 |
Medium | Tablet | 768 | 959 | 48 | 59.999 |
Large | Laptop | 960 | 1199.98 | 60 | 74.999 |
Extra-Large | Laptop (Large) | 1200 | 1439.98 | 75 | 89.999 |
Wide-Screen | Wide Screen | 1440 | Infinity | 90 | Infinity |
NewerOlder