Spider print short-sleeved T-shirt
${function() {
const variantData = data.variant || {"id":"544fe729-e06b-468c-aed2-44a0e52aaafa","product_id":"53df2174-aa2f-4d2c-a994-fd180d8701bf","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHtancgui-Brown-S","barcode":"","position":13,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76f02c98a23d215ffbe207bb5895186b.jpeg","path":"76f02c98a23d215ffbe207bb5895186b.jpeg","width":2160,"height":2160,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"20.89","retail_price":"32","available":true,"url":"\/products\/spiderman-print-short-sleeved-t-shirt?variant=544fe729-e06b-468c-aed2-44a0e52aaafa","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":42};
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 `
`;
}()}