Butterfly Print Long Sleeve Hoodie
${function() {
const variantData = data.variant || {"id":"fb36e149-b2e6-4b43-a7cd-f79a1bae7fdc","product_id":"fcaa3d0f-2c33-4d90-af87-379471b92ada","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XH367GeIE-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd53dc3a88bb17cfa94de4333404bc84.jpeg","path":"bd53dc3a88bb17cfa94de4333404bc84.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/butterfly-print-long-sleeve-hoodie?variant=fb36e149-b2e6-4b43-a7cd-f79a1bae7fdc","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":1};
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 `
`;
}()}