Retro leaf print cozy jacket
${function() {
const variantData = data.variant || {"id":"0c040cfc-84c7-4308-8845-9cb4367e6087","product_id":"7f533b26-3102-4627-aea9-a3cca4fe6b62","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHj8N4RcM-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c73add0ccf0e3f3cd973f6e11b82948.jpeg","path":"1c73add0ccf0e3f3cd973f6e11b82948.jpeg","width":4398,"height":4397,"alt":"","aspect_ratio":1.000227427791676},"wholesale_price":[{"price":43.89,"min_quantity":1}],"weight":"500","compare_at_price":"59","price":"43.89","retail_price":"59","available":true,"url":"\/products\/retro-leaf-print-cozy-jacket?variant=0c040cfc-84c7-4308-8845-9cb4367e6087","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":2};
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 `
`;
}()}