PLUS LOFTS Summer New Daily Shirt Men's Trend Slim Short Sleeved Shirt Casual Business Comfortable Dress Shirt Tops
${function() {
const variantData = data.variant || {"id":"ae2ba4da-1136-4248-953c-8e1c057f4283","product_id":"d789f19e-f75a-4f3e-9006-65c69cfe6dd0","title":"navy blue-Asian Size M (38)","weight_unit":"kg","inventory_quantity":950,"sku":"","barcode":"","position":1,"option1":"navy blue","option2":"Asian Size M (38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc97619d44cb2b7f257b197f143ef334.jpeg","path":"cc97619d44cb2b7f257b197f143ef334.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.9,"min_quantity":1}],"weight":"0.3","compare_at_price":"26.5","price":"15.9","retail_price":"26.5","available":true,"url":"\/products\/plus-lofts-summer-new-daily-shirt-mens-trend-slim-short-sleeved-shirt-casual-business-comfortable-dress-shirt-tops?variant=ae2ba4da-1136-4248-953c-8e1c057f4283","available_quantity":999999999,"options":[{"name":"color","value":"navy blue"},{"name":"size","value":"Asian Size M (38)"}],"off_ratio":40,"flashsale_info":[],"sales":459};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
navy blue
${function(){
const optName = "color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
Asian Size M (38)
${function(){
const optName = "size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$15.90
${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]);
const productVariant = {"id":"ae2ba4da-1136-4248-953c-8e1c057f4283","product_id":"d789f19e-f75a-4f3e-9006-65c69cfe6dd0","title":"navy blue-Asian Size M (38)","weight_unit":"kg","inventory_quantity":950,"sku":"","barcode":"","position":1,"option1":"navy blue","option2":"Asian Size M (38)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc97619d44cb2b7f257b197f143ef334.jpeg","path":"cc97619d44cb2b7f257b197f143ef334.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.9,"min_quantity":1}],"weight":"0.3","compare_at_price":"26.5","price":"15.9","retail_price":"26.5","available":true,"url":"\/products\/plus-lofts-summer-new-daily-shirt-mens-trend-slim-short-sleeved-shirt-casual-business-comfortable-dress-shirt-tops?variant=ae2ba4da-1136-4248-953c-8e1c057f4283","available_quantity":999999999,"options":[{"name":"color","value":"navy blue"},{"name":"size","value":"Asian Size M (38)"}],"off_ratio":40,"flashsale_info":[],"sales":459};
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 now
Product was out of stock.
Product is unavailable.