Solid color sexy strap bikini
${function() {
const variantData = data.variant || {"id":"24bd0a59-3496-47ec-b5d5-1ea0fc1324da","product_id":"422eec20-1bf9-4afb-a7c9-d3a2b2e2c5ec","title":"Rose-S","weight_unit":"g","inventory_quantity":999,"sku":"XHP9aJNwB-Rose-S","barcode":"","position":1,"option1":"Rose","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/215eb1d67f2ebd185d7447a0044e5630.jpeg","path":"215eb1d67f2ebd185d7447a0044e5630.jpeg","width":1560,"height":1560,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/solid-color-sexy-strap-bikini?variant=24bd0a59-3496-47ec-b5d5-1ea0fc1324da","available_quantity":999999999,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":54};
const saveType = "percentage";
const productLabelDiscountOn = false;
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.
Sku : XHP9aJNwB-Rose-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"24bd0a59-3496-47ec-b5d5-1ea0fc1324da","product_id":"422eec20-1bf9-4afb-a7c9-d3a2b2e2c5ec","title":"Rose-S","weight_unit":"g","inventory_quantity":999,"sku":"XHP9aJNwB-Rose-S","barcode":"","position":1,"option1":"Rose","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/215eb1d67f2ebd185d7447a0044e5630.jpeg","path":"215eb1d67f2ebd185d7447a0044e5630.jpeg","width":1560,"height":1560,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/solid-color-sexy-strap-bikini?variant=24bd0a59-3496-47ec-b5d5-1ea0fc1324da","available_quantity":999999999,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":54};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
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 `
`;
}()}