Elegant purple graffiti casual set
${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":"36915f23-b65a-4844-916c-36f77ab7ca56","product_id":"bb76e685-0ba7-4763-bbbb-11e21991e02c","title":"blue-L","weight_unit":"kg","inventory_quantity":1000,"sku":"662112281781-blue-L","barcode":"","position":1,"option1":"blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48442be53a008f9369e67c36f76bc5f0.jpeg","path":"48442be53a008f9369e67c36f76bc5f0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":45.26,"min_quantity":1}],"weight":"0","compare_at_price":"68","price":"45.26","retail_price":"68","available":true,"url":"\/products\/elegant-purple-graffiti-casual-set?variant=36915f23-b65a-4844-916c-36f77ab7ca56","available_quantity":1000,"options":[{"name":"color","value":"blue"},{"name":"size","value":"L"}],"off_ratio":33,"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:Apr-22 - Apr-26
${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