Adam's Creation Embroidered Hoodie
${function() {
const variantData = data.variant || {"id":"ca88a58f-9df6-4f3b-ab3e-d98ec2732d36","product_id":"29d46aec-9fcc-47e9-ad03-9a91c786bea6","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHe404wye-Black-S","barcode":"","position":11,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02a86e89309857a263edc783d62c5181.png","path":"02a86e89309857a263edc783d62c5181.png","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"47","price":"35","retail_price":"47","available":true,"url":"\/products\/adams-creation-embroidered-hoodie?variant=ca88a58f-9df6-4f3b-ab3e-d98ec2732d36","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 69;
const custom_text = "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";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}