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:assign name="l.settings:product:stripped_descrip" value="miva_html_strip(l.settings:product:descrip, '')"/> | |
{ | |
"@context": "http://schema.org", | |
"@type": "Product", | |
"name": "&mvtj:product:name;", | |
"image": "&mvt:global:socialImage;", | |
"description": "&mvtj:product:stripped_descrip;", | |
<mvt:if expr="NOT ISNULL l.settings:product:sku"> | |
"sku": "&mvtj:product:sku;", | |
"mpn": "&mvtj:product:sku;", |
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
/** | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |
|q|u|a|n|t|i|f|y| | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |
* | |
* This extension allows for the use of buttons to increase/decrease item | |
* quantities on the product and basket pages. When used on the basket page, | |
* the decrease button becomes a remove button if the quantity is 1. | |
*/ |
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:item name="html_profile" /> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<base href="&mvt:global:basehref;"> | |
<mvt:if expr="NOT ISNULL l.settings:page:title"> | |
<title>&mvt:page:title;</title> | |
<mvt:else> | |
<title>&mvt:store:name;: &mvt:page:name;</title> |
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
Seven different types of CSS attribute selectors | |
// This attribute exists on the element | |
[value] | |
// This attribute has a specific value of cool | |
[value='cool'] | |
// This attribute value contains the word cool somewhere in it | |
[value*='cool'] |
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
var swiper = { | |
touchStartX: 0, | |
touchEndX: 0, | |
minSwipePixels: 30, | |
detectionZone: undefined, | |
swiperCallback: function() {}, | |
init: function (detectionZone, callback) { | |
swiper.swiperCallback = callback |
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:item name="html_profile" /> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<base href="&mvt:global:basehref;"> | |
<mvt:if expr="NOT ISNULL l.settings:page:title"> | |
<title>&mvt:page:title;</title> | |
<mvt:else> | |
<title>&mvt:store:name;: &mvt:page:name;</title> |
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
/** | |
+-+-+-+-+-+-+-+-+ | |
|r|e|f|i|n|e|r|y| | |
+-+-+-+-+-+-+-+-+ | |
* | |
* This extension will display only the facets which will fit on the screen, | |
* all others are hidden from view but can been seen via an off-canvas element. | |
* Additionally, it will identify which facet sets have active selections and | |
* display the active facets in a list below the main facet container. The | |
* active facets can be clicked on to clear them as well as there being a |
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
$screen-sizes: ( | |
xxl: 1920px, | |
xl: 1440px, | |
l: 1360px, | |
ml: 1280px, | |
m: 768px, | |
s: 576px | |
); | |
$col-count: 24; |
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
<!-- This is an extract from OCST: Customer Information --> | |
... | |
<mvt:do name="l.state_datalist_count" file="g.Module_Library_DB" value="StateList_Load_All(l.state_datalist)"/> | |
<mvt:assign name="g.StateDatalist" value="l.state_datalist"/> | |
<mvt:if expr="g.States_Empty"> | |
<li class="c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;"> | |
<label class="c-form-label u-text-medium u-color-gray-40 is-required u-font-tiny" for="l-ShipState">State/Province</label> | |
<input id="l-ShipState" class="c-form-input c-form-input--large" type="text" name="ShipState" value="&mvte:global:ShipState;" &mvt:shipping_required;> | |
</li> | |
<mvt:else> |