View miva-tokenlist-in-smt.xml
token<mvt:assign name="l.settings:scopes" value="miva_array_deserialize( 'l,g,s' )" />
<table border="1">
<mvt:foreach iterator="scope" array="scopes">
<tr>
<td colspan="2"><h1>&mvt:scope;</h1></td>
</tr>
<tr>
<td>Variable Name</td>
<td>Value</td>
</tr>
View miva--get-part-of-string-after-occurrence-of-another-string.xml
<mvt:assign name="g.string" value="'something.com/goes-here.html'" />
<mvt:assign name="g.split" value="'.com'" />
<mvt:assign name="g.after_index" value="(g.split CIN g.string) + len(g.split)" />
<mvt:assign name="g.after" value="substring( g.string, g.after_index , len(g.string) )" />
&mvte:global:after;
View miva--uri-add-delete-delete-all-xml-provisioning.xml
<!--
================================
<URI_Add />
Description:
Adds a new URI to a page, category, product, or feed.
Rules:
Requires `uri` attribute with a value starting with "/"
For canonical URIs, add `canonical="yes"` attribute and ommit the `status` attribute.
View TERMS.html
Please carefully review the <a href="#">Software License Agreement</a> and click the I accept button below to download the file(s) ordered.
If you have questions about the license agreement, please email <a href="mailto:legal@example.com">legal@example.com</a>.
<mvt:if expr="g.DigitalDownload">
<button type="button" onclick="window.location = 'https://&mvte:global:domain:name;/mm5/download.mvc?Store_Code=&mvte:global:Store_Code;&DigitalDownload=&mvte:global:DigitalDownload;'" class="button">I accept the License Agreement</button>
</mvt:if>
<mvt:if expr="g.DownloadUrl">
<button type="button" onclick="window.location = '&mvte:global:DownloadUrl;'" class="button">I accept the License Agreement</button>
View miva-mvt-debug.xml
<mvt:assign name="g.mvt_debug" value="glosub( miva_array_serialize( l.settings:foobar ), ',', asciichar( 10 ) )" />
<!--
@@foobar
=======================
&mvt:global:mvt_debug;
-->
<mvt:assign name="g.mvt_debug" value="glosub( miva_array_serialize( g.foobar ), ',', asciichar( 10 ) )" />
<!--
View miva-related-products-based-on-breadcrumbs.xml
View miva-price-group-scheduled-timed-promo-content.xml
<mvt:do file="g.Module_Feature_PGR_DB" name="l.success" value="PriceGroup_Load_Name( 'Timed Promo #1', l.timed_promo )" />
<mvt:if expr="(l.timed_promo:dt_start EQ 0 OR s.dyn_time_t GT l.timed_promo:dt_start) AND (l.timed_promo:dt_start EQ 0 OR s.dyn_time_t LT l.timed_promo:dt_end)">
<mvt:assign name="l.timed_promo:is_active" value="1" />
<mvt:else>
<mvt:assign name="l.timed_promo:is_active" value="0" />
</mvt:if>
<mvt:if expr="l.timed_promo:is_active">
<mvt:item name="readytheme" param="image( 'timed_promo' )" />
View miva-mvt-do-basket_reset_contents--BASK.xml
<mvt:if expr="g.Basket_Reset_Contents">
<mvt:do file="g.Module_Library_DB" name="l.settings:result" value="Basket_Reset_Contents( g.Basket )" />
<mvt:assign name="l.result" value="miva_output_header( 'Location', l.settings:urls:BASK:auto )" />
<mvt:assign name="l.result" value="miva_output_header( 'Status', '302 Moved Temporarily' )" />
</mvt:if>
<mvt:item name="html_profile" />
<head>
...
View miva-fix-for-missing-basket-order-custom-fields-in-order-confirmation-emails.xml
<mvt:item name="customfields" param="Read_Basket( 'order_notes', l.settings:order:customfields:notes )" />
<mvt:if expr="NOT(l.settings:order:customfields:notes)">
<mvt:item name="customfields" param="Read_Order( l.settings:order:id, 'order_notes', l.settings:order:customfields:notes )" />
</mvt:if>
<mvt:if expr="l.settings:order:customfields:notes">
Order Notes:
&mvte:order:customfields:notes;
</mvt:if>
View miva-smart-breadcrumbs-http_referer-adjustment-global-pre-render.xml
<mvt:comment>
|---------------------------------------------------------------------
| SMART-BREADCRUMBS S.HTTP_REFERER ADJUSTMENT
|---------------------------------------------------------------------
| Alters Smart-Breadcrumbs & Category-Tree behavior that always
| loads breadcrumb hierarchies based on s.http_referer; even when
| the refering category is not in the product's hierarchy.
|---------------------------------------------------------------------
| 1.) Check Referring Category
| 2.) Check Current Request's Product