Solid Short Sleeve Button Up T-shirt
${function(){
return `
Please select a color
`;
}()}
${function(){
return `
Please select a size
`;
}()}
${function() {
const variantData = data.variant || {"id":"9b69faff-ce94-4453-8fef-0cd872d130eb","product_id":"ad34274d-8259-498b-8d7d-410d041ffaf6","title":"black-US 2-4","weight_unit":"kg","inventory_quantity":1000,"sku":"SW210728L01-black-US 2-4","barcode":"","position":1,"option1":"black","option2":"US 2-4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0a9422a637e0dc89bf690c9c6d7440f.jpeg","path":"c0a9422a637e0dc89bf690c9c6d7440f.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.69","price":"27.99","retail_price":"43.69","available":true,"url":"\/products\/solid-short-sleeve-button-up-t-shirt?variant=9b69faff-ce94-4453-8fef-0cd872d130eb","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"US 2-4"}],"off_ratio":36,"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-11 - Jul-15
${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