Fashion Casual Bee Print T-shirt
${function(){
return `
Please select a Color
`;
}()}
${function(){
return `
Please select a Size
`;
}()}
${function() {
const variantData = data.variant || {"id":"941a5fd5-5529-4360-8bed-7fbf07bfd4e2","product_id":"1a46a285-8901-4e62-a939-992ade38eaf7","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LD1661-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de423e1cbe7c56529ddee2974ea83d37.png","path":"de423e1cbe7c56529ddee2974ea83d37.png","width":558,"height":832,"alt":"","aspect_ratio":0.6706730769230769},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"20.99","retail_price":"34.99","available":true,"url":"\/products\/fashion-casual-bee-print-t-shirt?variant=941a5fd5-5529-4360-8bed-7fbf07bfd4e2","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"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: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