Ladies Retro Western Ethnic Print Top
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Color
`;
}()}
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Size
`;
}()}
${function() {
const variantData = data.variant || {"id":"bcc7cd23-981d-4239-9567-1e972fcb4849","product_id":"9ae0142e-8e24-4a42-85a3-a63b5fd6e1d7","title":"Red-M","weight_unit":"kg","inventory_quantity":1000,"sku":"LD696-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d6254ce8f711b1a58359c1b4de70ecb.jpeg","path":"0d6254ce8f711b1a58359c1b4de70ecb.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.74,"min_quantity":1}],"weight":"0","compare_at_price":"47.14","price":"28.74","retail_price":"47.14","available":true,"url":"\/products\/ladies-retro-western-ethnic-print-top-3?variant=bcc7cd23-981d-4239-9567-1e972fcb4849","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":39,"flashsale_info":[],"sales":1};
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:Apr-21 - Apr-25
${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