PLUS LOFTS Ani Kang |men's T-shirt Spring Summer Slim-fit Knitwear Casual Sports Polo Homem Men Golf Clothes
${function() {
const variantData = data.variant || {"id":"866a609c-d27e-4621-a879-454cdd9d9858","product_id":"c078fbe2-875e-449b-b759-4d4fdcfccbba","title":"Coffee Color-M tag (US EU M)","weight_unit":"g","inventory_quantity":918,"sku":"","barcode":"","position":1,"option1":"Coffee Color","option2":"M tag (US EU M)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b95c47c9de69177bd3433e5c4ea5c0b.jpeg","path":"5b95c47c9de69177bd3433e5c4ea5c0b.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"30","retail_price":"60","available":true,"url":"\/products\/plus-lofts-ani-kang-mens-t-shirt-spring-summer-slim-fit-knitwear-casual-sports-polo-homem-men-golf-clothes?variant=866a609c-d27e-4621-a879-454cdd9d9858","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee Color"},{"name":"Size","value":"M tag (US EU M)"}],"off_ratio":50,"flashsale_info":[],"sales":863};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Coffee Color
${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 tag (US EU M)
${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
$30.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":"866a609c-d27e-4621-a879-454cdd9d9858","product_id":"c078fbe2-875e-449b-b759-4d4fdcfccbba","title":"Coffee Color-M tag (US EU M)","weight_unit":"g","inventory_quantity":918,"sku":"","barcode":"","position":1,"option1":"Coffee Color","option2":"M tag (US EU M)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b95c47c9de69177bd3433e5c4ea5c0b.jpeg","path":"5b95c47c9de69177bd3433e5c4ea5c0b.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"30","retail_price":"60","available":true,"url":"\/products\/plus-lofts-ani-kang-mens-t-shirt-spring-summer-slim-fit-knitwear-casual-sports-polo-homem-men-golf-clothes?variant=866a609c-d27e-4621-a879-454cdd9d9858","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee Color"},{"name":"Size","value":"M tag (US EU M)"}],"off_ratio":50,"flashsale_info":[],"sales":863};
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.