Solid Color Ornate Jewelry Swimsuit Three-Piece Set
${function() {
const variantData = data.variant || {"id":"b4f7d280-ff81-4152-aca5-931eb45a1180","product_id":"61806770-65af-4fb6-880b-27ed3cba1226","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230309267-Yellow-S","barcode":"","position":5,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3863670c22a04ab9df24c7ee3b5ebc7.png","path":"d3863670c22a04ab9df24c7ee3b5ebc7.png","width":784,"height":1012,"alt":"","aspect_ratio":0.7747035573122529},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"37","price":"30.99","retail_price":"37","available":true,"url":"\/products\/solid-color-ornate-jewelry-swimsuit-three-piece-set?variant=b4f7d280-ff81-4152-aca5-931eb45a1180","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":16,"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":"b4f7d280-ff81-4152-aca5-931eb45a1180","product_id":"61806770-65af-4fb6-880b-27ed3cba1226","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230309267-Yellow-S","barcode":"","position":5,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3863670c22a04ab9df24c7ee3b5ebc7.png","path":"d3863670c22a04ab9df24c7ee3b5ebc7.png","width":784,"height":1012,"alt":"","aspect_ratio":0.7747035573122529},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"37","price":"30.99","retail_price":"37","available":true,"url":"\/products\/solid-color-ornate-jewelry-swimsuit-three-piece-set?variant=b4f7d280-ff81-4152-aca5-931eb45a1180","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":16,"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 `
`;
}()}