PLUS LOFTS 2024 Brand New 100% Cotton T-shirt Men's Solid Color Round Neck Half Sleeve Loose Casual T-shirt Bottoming Shirt Men
${function() {
const variantData = data.variant || {"id":"8b97b43e-f77b-48e7-baca-a3c07cf402b5","product_id":"2d459a59-197d-40e9-9d27-5a64cf613919","title":"black-XS","weight_unit":"kg","inventory_quantity":954,"sku":"","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3feaa23fc2f01a1f465175e60ac4eeaa.jpeg","path":"3feaa23fc2f01a1f465175e60ac4eeaa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.2,"min_quantity":1}],"weight":"0.3","compare_at_price":"17.4","price":"12.2","retail_price":"17.4","available":true,"url":"\/products\/plus-lofts-2024-brand-new-100-cotton-t-shirt-mens-solid-color-round-neck-half-sleeve-loose-casual-t-shirt-bottoming-shirt-men-bfod?variant=8b97b43e-f77b-48e7-baca-a3c07cf402b5","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"XS"}],"off_ratio":30,"flashsale_info":[],"sales":579};
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:
XS
${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
$12.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":"8b97b43e-f77b-48e7-baca-a3c07cf402b5","product_id":"2d459a59-197d-40e9-9d27-5a64cf613919","title":"black-XS","weight_unit":"kg","inventory_quantity":954,"sku":"","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3feaa23fc2f01a1f465175e60ac4eeaa.jpeg","path":"3feaa23fc2f01a1f465175e60ac4eeaa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.2,"min_quantity":1}],"weight":"0.3","compare_at_price":"17.4","price":"12.2","retail_price":"17.4","available":true,"url":"\/products\/plus-lofts-2024-brand-new-100-cotton-t-shirt-mens-solid-color-round-neck-half-sleeve-loose-casual-t-shirt-bottoming-shirt-men-bfod?variant=8b97b43e-f77b-48e7-baca-a3c07cf402b5","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"XS"}],"off_ratio":30,"flashsale_info":[],"sales":579};
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.