View bask-basket.html
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.Action EQ 'RGRP'"> | |
<mvt:assign name="g.Quantity" value="miva_variable_value('Quantity' $ g.Restore_Counter)" /> | |
<mvt:assign name="g.Restore_Name" value="miva_variable_value('Restore_Name' $ g.Restore_Counter)" /> | |
<mvt:assign name="g.Restore_Params" value="miva_variable_value('Restore_Params' $ g.Restore_Counter)" /> | |
<div class="message message--info h-nm"> | |
<strong>&mvte:global:Restore_Name;</strong> has been removed from your cart. <a href="&mvte:urls:BASK:auto_sep;&mvte:global:Restore_Params;">Undo?</a> | |
</div> | |
<mvt:assign name="g.Restore_Counter" value="g.Restore_Counter + 1" /> | |
</mvt:if> | |
<mvt:item name="customfields" param="Read_Basket('continue_url', l.settings:continue_url)" /> |
View bask-basket.html
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.Action EQ 'RGRP'"> | |
<mvt:assign name="g.Quantity" value="miva_variable_value('Quantity' $ g.Restore_Counter)" /> | |
<mvt:assign name="g.Restore_Name" value="miva_variable_value('Restore_Name' $ g.Restore_Counter)" /> | |
<mvt:assign name="g.Restore_Params" value="miva_variable_value('Restore_Params' $ g.Restore_Counter)" /> | |
<div class="message message-info"> | |
<strong>&mvte:global:Restore_Name;</strong> has been removed from your cart. <a href="&mvte:urls:BASK:auto_sep;&mvte:global:Restore_Params;">Undo?</a> | |
</div> | |
<mvt:assign name="g.Restore_Counter" value="g.Restore_Counter + 1" /> | |
</mvt:if> | |
<mvt:if expr="l.settings:basket:empty"> |
View bask-basket.html
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> | |
function continueShopping(link) { | |
if (sessionStorage.getItem('continue_url')) { | |
link.href = sessionStorage.getItem('continue_url'); | |
} | |
} | |
</script> | |
<mvt:if expr="g.Action EQ 'RGRP' AND g.quote_item NE '1'"> | |
<mvt:assign name="g.Quantity" value="miva_variable_value('Quantity' $ g.Restore_Counter)" /> | |
<mvt:assign name="g.Restore_Name" value="miva_variable_value('Restore_Name' $ g.Restore_Counter)" /> |
View input.scss
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
@use "sass:meta"; | |
/** | |
* Use this mixin to declare a set of CSS Custom Properties. | |
* The variables in $css_variables will be properly prefixed. | |
* The use of this mixin is encouraged to keep a good scalability. | |
*/ | |
@mixin cssvars($css_variables, $prefix: rt) { | |
:root { | |
@each $name, $value in $css_variables { |
View quantify.js
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. | |
*/ |
View ctgy-page.html
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:category:page_title"> | |
<title>&mvt:category:page_title;</title> | |
<mvt:elseif expr="NOT ISNULL l.settings:page:title"> | |
<title>&mvt:page:title;</title> |
View afed-affiliate.html
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
<section class="o-layout o-layout--justify-center"> | |
<div class="o-layout__item u-width-12 u-width-9--m"> | |
<p class="u-text-right"><a class="c-button c-button--hollow c-button--small u-color-red" href="&mvte:urls:SFNT:secure_sep;Action=ALOG" title="Log Out">Log Out</a></p> | |
<form method="post" action="&mvte:urls:AFAE:secure;"> | |
<fieldset> | |
<legend>&mvt:page:name;</legend> | |
<input type="hidden" name="Action" value="UAFL" /> | |
<p class="c-heading-delta">Log In Info</p> | |
<div class="c-form-list o-layout"> |
View opay.html
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 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> | |
</mvt:if> |
View prod-product_display_imagemachine.js
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 productName = '&mvtj:product:name;'; | |
let generate_thumbnail_event = new CustomEvent('ImageMachine_Generate_Thumbnail'); | |
let images = []; | |
let thumbnailIndex = 0; | |
let zoomImageLink = document.querySelector('[data-photograph]'); | |
ImageMachine.prototype.oninitialize = function (data) { | |
images = []; | |
thumbnailIndex = 0; | |
zoomImageLink.href = (data.length > 0) ? data[0].image_data[this.closeup_index] : 'graphics/en-US/admin/blank.gif'; |
View ajax-add-to-cart.js
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
/** | |
* When called from a `theme.js` file on a product page, this extension will | |
* work with the default page code to add a product to the cart utilizing an | |
* AJAX call to the form processor. | |
* | |
* The function contains internal error checking as well as a check to see which | |
* page was reached and displaying messages accordingly. If the store is also | |
* utilizing the `mini-basket` extension, said extension will be triggered for | |
* display upon successfully adding a product to the cart. | |
*/ |
NewerOlder