Creatures Of The Deep Printed Women's T-shirt
${function() {
const variantData = data.variant || {"id":"65d2bbe1-dbf2-4496-bfd4-95142bf3c954","product_id":"2c326019-f385-4e0d-a0f8-3f166ac5cb6a","title":"White-S","weight_unit":"g","inventory_quantity":99999996,"sku":"102031850001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22a98a7f593d3d7990090cf6acdac90f.jpeg","path":"22a98a7f593d3d7990090cf6acdac90f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"250","compare_at_price":"0","price":"16","retail_price":"0","available":true,"url":"\/products\/creatures-of-the-deep-printed-womens-t-shirt?variant=65d2bbe1-dbf2-4496-bfd4-95142bf3c954","available_quantity":99999996,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":77};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 70;
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 `
`;
}()}
${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}
`
}()}
Product was out of stock.
Product is unavailable.