PLUS LOFTS Men's Polo Long Sleeve T-shirt Turn-down Collar Print Spring Autumn Casual Loose Business Tees Fashion Striped Button Tops
${function() {
const variantData = data.variant || {"id":"a5db9dfb-7236-47c9-b7f6-943302154f48","product_id":"48a84a2a-7c4c-4fca-a446-0c5c8152891a","title":"Black-M(50-60)kg","weight_unit":"kg","inventory_quantity":684,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dfacd773e50630afcabac0a76e96a085.jpeg","path":"dfacd773e50630afcabac0a76e96a085.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.35","compare_at_price":"43.6","price":"24","retail_price":"43.6","available":true,"url":"\/products\/plus-lofts-mens-polo-long-sleeve-t-shirt-turn-down-collar-print-spring-autumn-casual-loose-business-tees-fashion-striped-button-tops-9ngy?variant=a5db9dfb-7236-47c9-b7f6-943302154f48","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"M(50-60)kg"}],"off_ratio":45,"flashsale_info":[],"sales":467};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${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:
M(50-60)kg
${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
$24.00
${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":"a5db9dfb-7236-47c9-b7f6-943302154f48","product_id":"48a84a2a-7c4c-4fca-a446-0c5c8152891a","title":"Black-M(50-60)kg","weight_unit":"kg","inventory_quantity":684,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dfacd773e50630afcabac0a76e96a085.jpeg","path":"dfacd773e50630afcabac0a76e96a085.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.35","compare_at_price":"43.6","price":"24","retail_price":"43.6","available":true,"url":"\/products\/plus-lofts-mens-polo-long-sleeve-t-shirt-turn-down-collar-print-spring-autumn-casual-loose-business-tees-fashion-striped-button-tops-9ngy?variant=a5db9dfb-7236-47c9-b7f6-943302154f48","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"M(50-60)kg"}],"off_ratio":45,"flashsale_info":[],"sales":467};
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.