Irregular Buttons Sleeveless Top
${function() {
const variantData = data.variant || {"id":"0cdc8908-2503-4741-9d76-174ff2f57f02","product_id":"b35ed890-1146-4623-8903-6dbd9987abb9","title":"grey-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21070838-grey-2xl","barcode":"","position":7,"option1":"grey","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3119111580c4f067d11476f83f517a6c.jpeg","path":"3119111580c4f067d11476f83f517a6c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.41,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.68","price":"31.41","retail_price":"38.68","available":true,"url":"\/products\/irregular-buttons-sleeveless-top?variant=0cdc8908-2503-4741-9d76-174ff2f57f02","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"2xl"}],"off_ratio":19,"flashsale_info":[],"sales":0};
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":"0cdc8908-2503-4741-9d76-174ff2f57f02","product_id":"b35ed890-1146-4623-8903-6dbd9987abb9","title":"grey-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21070838-grey-2xl","barcode":"","position":7,"option1":"grey","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3119111580c4f067d11476f83f517a6c.jpeg","path":"3119111580c4f067d11476f83f517a6c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.41,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.68","price":"31.41","retail_price":"38.68","available":true,"url":"\/products\/irregular-buttons-sleeveless-top?variant=0cdc8908-2503-4741-9d76-174ff2f57f02","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"2xl"}],"off_ratio":19,"flashsale_info":[],"sales":0};
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 `
`;
}()}