SUCCESS SMARTU 2024 Summer New Hollowed-out Diamond Plaid Elastic Knit T-shirt Ice Silk Cool Slim Short Sleeve Crew Neck T-shirt For Men M-3XL
${function() {
const variantData = data.variant || {"id":"ee82de9d-f85e-4c29-a1e0-5122eb64231c","product_id":"0606fd15-7e49-4dfe-a098-669fb23e3a90","title":"black-Asia S 47-51kg","weight_unit":"g","inventory_quantity":883,"sku":"","barcode":"","position":1,"option1":"black","option2":"Asia S 47-51kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","path":"1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"350","compare_at_price":"31.5","price":"18.9","retail_price":"31.5","available":true,"url":"\/products\/success-smartu-2024-summer-new-hollowed-out-diamond-plaid-elastic-knit-t-shirt-ice-silk-cool-slim-short-sleeve-crew-neck-t-shirt-for-men-m-3xl?variant=ee82de9d-f85e-4c29-a1e0-5122eb64231c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Asia S 47-51kg"}],"off_ratio":40,"flashsale_info":[],"sales":162};
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:
Asia S 47-51kg
${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
$18.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":"ee82de9d-f85e-4c29-a1e0-5122eb64231c","product_id":"0606fd15-7e49-4dfe-a098-669fb23e3a90","title":"black-Asia S 47-51kg","weight_unit":"g","inventory_quantity":883,"sku":"","barcode":"","position":1,"option1":"black","option2":"Asia S 47-51kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","path":"1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"350","compare_at_price":"31.5","price":"18.9","retail_price":"31.5","available":true,"url":"\/products\/success-smartu-2024-summer-new-hollowed-out-diamond-plaid-elastic-knit-t-shirt-ice-silk-cool-slim-short-sleeve-crew-neck-t-shirt-for-men-m-3xl?variant=ee82de9d-f85e-4c29-a1e0-5122eb64231c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Asia S 47-51kg"}],"off_ratio":40,"flashsale_info":[],"sales":162};
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.
${function(){
const variantData = data.variant || {"id":"ee82de9d-f85e-4c29-a1e0-5122eb64231c","product_id":"0606fd15-7e49-4dfe-a098-669fb23e3a90","title":"black-Asia S 47-51kg","weight_unit":"g","inventory_quantity":883,"sku":"","barcode":"","position":1,"option1":"black","option2":"Asia S 47-51kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","path":"1d8d85b07ac9f7c9a0669cf482cb6311.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"350","compare_at_price":"31.5","price":"18.9","retail_price":"31.5","available":true,"url":"\/products\/success-smartu-2024-summer-new-hollowed-out-diamond-plaid-elastic-knit-t-shirt-ice-silk-cool-slim-short-sleeve-crew-neck-t-shirt-for-men-m-3xl?variant=ee82de9d-f85e-4c29-a1e0-5122eb64231c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Asia S 47-51kg"}],"off_ratio":40,"flashsale_info":[],"sales":162};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}