Sexy Fluorescent Leopard Print Casual Long-sleeved Shirt
Color-
Multicolor
${function(){
const optName = "Color";
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Color
`;
}()}
Size-
S
${function(){
const optName = "Size";
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${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":"8325c42d-d1f8-4157-b7ed-5c7c1cf34b92","product_id":"75a67b45-aa39-4535-934a-9e965cc4f619","title":"Multicolor -S","weight_unit":"kg","inventory_quantity":1000,"sku":"YK2165-Multicolor -S","barcode":"","position":1,"option1":"Multicolor ","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e41a021bc3a757afd87474afa42ca242.jpg","path":"e41a021bc3a757afd87474afa42ca242.jpg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.55,"min_quantity":1}],"weight":"0","compare_at_price":"43.18","price":"34.55","retail_price":"43.18","available":true,"url":"\/products\/sexy-fluorescent-leopard-print-casual-long-sleeved-shirt?variant=8325c42d-d1f8-4157-b7ed-5c7c1cf34b92","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor "},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productSaveLabel = false;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Free worldwide shipping 80$ +
Add to cart
- $34.55
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"8325c42d-d1f8-4157-b7ed-5c7c1cf34b92","product_id":"75a67b45-aa39-4535-934a-9e965cc4f619","title":"Multicolor -S","weight_unit":"kg","inventory_quantity":1000,"sku":"YK2165-Multicolor -S","barcode":"","position":1,"option1":"Multicolor ","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e41a021bc3a757afd87474afa42ca242.jpg","path":"e41a021bc3a757afd87474afa42ca242.jpg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.55,"min_quantity":1}],"weight":"0","compare_at_price":"43.18","price":"34.55","retail_price":"43.18","available":true,"url":"\/products\/sexy-fluorescent-leopard-print-casual-long-sleeved-shirt?variant=8325c42d-d1f8-4157-b7ed-5c7c1cf34b92","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor "},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy it now
Product was out of stock.
Product is unavailable.
Estimated Delivery:May-18 - May-22
${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