PLUS LOFTS 2024 Summer New Short Sleeve T-shirt Men's Lapel Polo Simple Casual Loose Solid Color Button Letter Printing Embroidery Tops
${function() {
const variantData = data.variant || {"id":"696a7589-9f8c-49ed-98b0-8b16cb87659b","product_id":"dbe8c7cf-6a0d-4f95-ba9b-304de67af477","title":"Purple-M(50-60)kg","weight_unit":"kg","inventory_quantity":646,"sku":"","barcode":"","position":1,"option1":"Purple","option2":"M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1f7339c0b9007767a4e94704bd7e663.jpeg","path":"a1f7339c0b9007767a4e94704bd7e663.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.2,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.7","price":"23.2","retail_price":"38.7","available":true,"url":"\/products\/plus-lofts-2024-summer-new-short-sleeve-t-shirt-mens-lapel-polo-simple-casual-loose-solid-color-button-letter-printing-embroidery-tops?variant=696a7589-9f8c-49ed-98b0-8b16cb87659b","available_quantity":999999999,"options":[{"name":"color","value":"Purple"},{"name":"size","value":"M(50-60)kg"}],"off_ratio":40,"flashsale_info":[],"sales":168};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Purple
${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
$23.20
${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":"696a7589-9f8c-49ed-98b0-8b16cb87659b","product_id":"dbe8c7cf-6a0d-4f95-ba9b-304de67af477","title":"Purple-M(50-60)kg","weight_unit":"kg","inventory_quantity":646,"sku":"","barcode":"","position":1,"option1":"Purple","option2":"M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1f7339c0b9007767a4e94704bd7e663.jpeg","path":"a1f7339c0b9007767a4e94704bd7e663.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.2,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.7","price":"23.2","retail_price":"38.7","available":true,"url":"\/products\/plus-lofts-2024-summer-new-short-sleeve-t-shirt-mens-lapel-polo-simple-casual-loose-solid-color-button-letter-printing-embroidery-tops?variant=696a7589-9f8c-49ed-98b0-8b16cb87659b","available_quantity":999999999,"options":[{"name":"color","value":"Purple"},{"name":"size","value":"M(50-60)kg"}],"off_ratio":40,"flashsale_info":[],"sales":168};
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.