Retro pocket sleeveless jumpsuit
${function() {
const variantData = data.variant || {"id":"06cbc990-aef6-448a-9066-a5a83ff80a28","product_id":"649f8eea-954a-4ad9-b9ec-72afdf8306e5","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011809-blue-s","barcode":"","position":17,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d471213cc02a6e93a99e9b3d31a23979.jpeg","path":"d471213cc02a6e93a99e9b3d31a23979.jpeg","width":366,"height":489,"alt":"","aspect_ratio":0.7484662576687117},"wholesale_price":[{"price":37.53,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.83","price":"37.53","retail_price":"45.83","available":true,"url":"\/products\/retro-pocket-sleeveless-jumpsuit?variant=06cbc990-aef6-448a-9066-a5a83ff80a28","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":1};
const saveType = "amount";
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":"06cbc990-aef6-448a-9066-a5a83ff80a28","product_id":"649f8eea-954a-4ad9-b9ec-72afdf8306e5","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011809-blue-s","barcode":"","position":17,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d471213cc02a6e93a99e9b3d31a23979.jpeg","path":"d471213cc02a6e93a99e9b3d31a23979.jpeg","width":366,"height":489,"alt":"","aspect_ratio":0.7484662576687117},"wholesale_price":[{"price":37.53,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.83","price":"37.53","retail_price":"45.83","available":true,"url":"\/products\/retro-pocket-sleeveless-jumpsuit?variant=06cbc990-aef6-448a-9066-a5a83ff80a28","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":1};
return `
`
}()}
${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 `
`;
}()}