St. Patrick's Day Shamrock Beer Print Sweatshirt
${function(){
return `
Please select a size
`;
}()}
${function() {
const variantData = data.variant || {"id":"039cc8d1-79e3-4bb8-b23a-4c23d17cf262","product_id":"d058456c-e829-4be7-9c8d-2dc62f4eb6ae","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-S","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5384621fa33fb58762c1c3c78f74fec6.jpeg","path":"5384621fa33fb58762c1c3c78f74fec6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/unisex-virgin-mary-abstract-print-sweatshirt-43ci-ttdc-or1b-lq36-z9vf-x13h-v6pw-0bpx-9eaj-lm24-x5zu-hpfu-9cq2-amv0-xmxh-fpmb-mr5x-cndr-m6jk-uoqn-w6qy-mp9n?variant=039cc8d1-79e3-4bb8-b23a-4c23d17cf262","available_quantity":999999999,"options":[{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productSaveLabel = false;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}%` : `-` }
`; }()}
Free worldwide shipping 80$ +
Product was out of stock.
Product is unavailable.
Estimated Delivery:Jun-22 - Jun-26
${function() {
const type = 'hero';
const postageFreeAmount = 80;
const custom_text_hero = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
const custom_text_wind = "Buy {amount} more to enjoy FREE Shipping";
const custom_text = type === 'hero' ? custom_text_hero : custom_text_wind;
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
${type === 'hero' ?
`
` :
`
${tipText}
Your order is free delivery
`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now