Harry Styles butterfly printed knitted all-match flip hat
${function() {
const variantData = data.variant || {"id":"64dc61de-e62a-4364-aee6-dadf1683a64d","product_id":"31a36092-b715-4fca-9a3d-61666e8b9889","title":"One Size-Black","weight_unit":"g","inventory_quantity":617,"sku":"100316030001","barcode":"","position":1,"option1":"One Size","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ecfbddd349e3287e6cad6a57cb69cda.jpeg","path":"7ecfbddd349e3287e6cad6a57cb69cda.jpeg","width":800,"height":658,"alt":"","aspect_ratio":1.21580547112462},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"100","compare_at_price":"0","price":"14","retail_price":"0","available":true,"url":"\/products\/harry-styles-butterfly-printed-knitted-all-match-flip-hat?variant=64dc61de-e62a-4364-aee6-dadf1683a64d","available_quantity":999999999,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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.