Lost At Sea Hoodie
${function() {
const variantData = data.variant || {"id":"76650a31-2b20-461e-b61c-c6fab33502e0","product_id":"56bf4c45-0533-43cf-b028-3ac9a8a1c434","title":"Black-S","weight_unit":"g","inventory_quantity":999999995,"sku":"102312950001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96d9b9247b668c0cd828a57b4e0a6229.jpeg","path":"96d9b9247b668c0cd828a57b4e0a6229.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"477.5","compare_at_price":"70","price":"36","retail_price":"70","available":true,"url":"\/products\/lost-at-sea-printed-mens-hoodie?variant=76650a31-2b20-461e-b61c-c6fab33502e0","available_quantity":999999995,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":1510};
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.