Leaf Print Patchwork Crossed Bikini Set
${function(){
return `
Please select a color
`;
}()}
${function(){
return `
Please select a size
`;
}()}
${function() {
const variantData = data.variant || {"id":"29cb0f68-288a-4d22-8443-cdec4a07da9e","product_id":"73cee60b-d6c0-41d6-b3dc-dbaa10c7b8c1","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SW2106050103-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc085e996e6a197fb1feb890a7dbd40a.jpeg","path":"cc085e996e6a197fb1feb890a7dbd40a.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.69","retail_price":"0","available":true,"url":"\/products\/leaf-print-patchwork-crossed-bikini-set?variant=29cb0f68-288a-4d22-8443-cdec4a07da9e","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productSaveLabel = false;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}%` : `-` }
`; }()}
Free worldwide shipping 80$ +
Product was out of stock.
Product is unavailable.
Estimated Delivery:Jul-13 - Jul-17
${function() {
const type = 'hero';
const postageFreeAmount = 80;
const custom_text_hero = "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";
const custom_text_wind = "Buy {amount} more to enjoy FREE Shipping";
const custom_text = type === 'hero' ? custom_text_hero : custom_text_wind;
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
${type === 'hero' ?
`
` :
`
${tipText}
Your order is free delivery
`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now