SAYO TOMASYON Cotton Printed Short Sleeved Men's Loose Fitting
${function() {
const variantData = data.variant || {"id":"008c11be-05bc-4037-899d-9a6261015533","product_id":"8498123a-d429-4047-bd3f-f0c2cd87d13b","title":"Tomato white-M","weight_unit":"g","inventory_quantity":888,"sku":"","barcode":"","position":1,"option1":"Tomato white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f53a4e9d5961b900385a6f55f2e2d0ca.jpeg","path":"f53a4e9d5961b900385a6f55f2e2d0ca.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"270","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/sayo-tomasyon-cotton-printed-short-sleeved-mens-loose-fitting?variant=008c11be-05bc-4037-899d-9a6261015533","available_quantity":999999999,"options":[{"name":"Color","value":"Tomato white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":799};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Tomato white
${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
${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
$16.40
${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":"008c11be-05bc-4037-899d-9a6261015533","product_id":"8498123a-d429-4047-bd3f-f0c2cd87d13b","title":"Tomato white-M","weight_unit":"g","inventory_quantity":888,"sku":"","barcode":"","position":1,"option1":"Tomato white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f53a4e9d5961b900385a6f55f2e2d0ca.jpeg","path":"f53a4e9d5961b900385a6f55f2e2d0ca.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"270","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/sayo-tomasyon-cotton-printed-short-sleeved-mens-loose-fitting?variant=008c11be-05bc-4037-899d-9a6261015533","available_quantity":999999999,"options":[{"name":"Color","value":"Tomato white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":799};
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.