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
function calculateShipping(cart) { | |
// if total is more than > 50, we have a free shipping | |
// change me to some number | |
var FreeShippingPrice = 50; | |
$(".cart-info").remove(); | |
if (!cart) { | |
return; | |
} | |
var showText = function (text) { |
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
{% if article %} | |
<script type="text/javascript"> | |
(function () { | |
var articleName = "{{article.title}}"; | |
//IMPORTANT! Change this to the class name of the div article content | |
var articleContent = "blog__article__content"; | |
//IMPORTANT! |