Retro Butterfly Contrast Long Sleeve Zip-Up Jacket
${function() {
const variantData = data.variant || {"id":"0f01483e-1c86-4320-a1b1-c1a374818af9","product_id":"05c17462-e25b-4a5b-9659-3b7212de5147","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHnDJhPW3-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11aa3552f7eb50d291346caa308308dd.jpeg","path":"11aa3552f7eb50d291346caa308308dd.jpeg","width":1536,"height":1536,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.89,"min_quantity":1}],"weight":"0","compare_at_price":"73","price":"51.89","retail_price":"73","available":true,"url":"\/products\/retro-butterfly-contrast-long-sleeve-zip-up-jacket?variant=0f01483e-1c86-4320-a1b1-c1a374818af9","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":4};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0f01483e-1c86-4320-a1b1-c1a374818af9","product_id":"05c17462-e25b-4a5b-9659-3b7212de5147","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHnDJhPW3-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/11aa3552f7eb50d291346caa308308dd.jpeg","path":"11aa3552f7eb50d291346caa308308dd.jpeg","width":1536,"height":1536,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.89,"min_quantity":1}],"weight":"0","compare_at_price":"73","price":"51.89","retail_price":"73","available":true,"url":"\/products\/retro-butterfly-contrast-long-sleeve-zip-up-jacket?variant=0f01483e-1c86-4320-a1b1-c1a374818af9","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
`
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 89;
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 `
`;
}()}