Fashion solid color suspender bikini
${function() {
const variantData = data.variant || {"id":"51c89830-e826-433b-be25-48e2fd230c54","product_id":"c0277c1d-ac64-4d39-92eb-b95379b7e9f8","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJ3Jh6Dk-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85d741c99dcc31a972fb8fd9870003fd.jpeg","path":"85d741c99dcc31a972fb8fd9870003fd.jpeg","width":1610,"height":1611,"alt":"","aspect_ratio":0.9993792675356921},"wholesale_price":[{"price":25.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"25.89","retail_price":"32","available":true,"url":"\/products\/fashion-solid-color-suspender-bikini-ne88?variant=51c89830-e826-433b-be25-48e2fd230c54","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":113};
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 : XHJ3Jh6Dk-Green-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"51c89830-e826-433b-be25-48e2fd230c54","product_id":"c0277c1d-ac64-4d39-92eb-b95379b7e9f8","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJ3Jh6Dk-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85d741c99dcc31a972fb8fd9870003fd.jpeg","path":"85d741c99dcc31a972fb8fd9870003fd.jpeg","width":1610,"height":1611,"alt":"","aspect_ratio":0.9993792675356921},"wholesale_price":[{"price":25.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"25.89","retail_price":"32","available":true,"url":"\/products\/fashion-solid-color-suspender-bikini-ne88?variant=51c89830-e826-433b-be25-48e2fd230c54","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":113};
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 `
`;
}()}