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="head" param="footer_tracking_scripts" /> |
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="head" param="script:facebook_tracking_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:item name="head" param="script:[js_resource_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:item name="head" param="head_tag" /> |
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
<script type="text/javascript" src="scripts/script_2.js" data-script-group="head_tag" data-script-code="code_2"></script> |
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
<script type="text/javascript" data-mmspecial="Yes" src="scripts/script_2.js" data-script-group="head_tag" data-script-code="code_8"></script> |
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:foreach iterator="order" array="admin_order:orders"> | |
<mvt:foreach iterator="coupon" array="order:coupons"> | |
<mvt:comment> | |
:code | |
:coupon_id | |
:order_id | |
:total (discount applied to order) |
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:foreach iterator="item" array="basket:items"> | |
<mvt:comment>Load Variant Parts For Basket Item</mvt:comment> | |
<mvt:do file="g.Module_Library_DB" name="l.part_count" value="ProductList_Load_Variant(l.settings:item:product_id, l.settings:item:variant_id, l.settings:parts)" /> | |
<mvt:comment>Only run the folloing if the varaints parts is 1</mvt:comment> | |
<mvt:if expr="l.part_count EQ 1"> | |
<mvt:comment>Always use the first variant part (ignores kits)</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:foreach iterator="item" array="order:groups"> | |
<mvt:assign name="g.order_option_count" value="miva_array_elements(l.settings:item:options )" /> | |
<mvt:do file="g.Module_Library_Utilities" name="l.success" value="OrderItem_DetermineVariant_WithOptions(l.settings:item, l.settings:item:options, g.order_option_count, l.settings:product, g.variant_id)" /> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="ProductList_Load_Variant(l.settings:product:id, g.variant_id, l.settings:productvariants)" /> | |
<mvt:do name="l.image_count" file="g.Module_Library_DB" value="ProductImageDataList_Load_Product(l.settings:productvariants[1]:id, l.settings:imagedata)" /> | |
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 code needs to be on a page were the order item information is available. Ie: Invoice, Order Batch Report, Order History, etc | |
<mvt:comment>Load Variant ID based on atributes ordered</mvt:comment> | |
<mvt:do file="g.Module_Library_Utilities" name="l.success" value="OrderItem_DetermineVariant_WithOptions(l.settings:item, l.settings:item:options, g.order_option_count, l.settings:product, g.variant_id)" /> | |
<mvt:comment>Load product variant data. Always returns an array of parts </mvt:comment> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="ProductList_Load_Variant(l.settings:product:id, g.variant_id, l.settings:productvariants)" /> | |
<mvt:foreach iterator="part" array="productvariants"> | |
&mvt:part:active; |