SAYO TOMASYON Eyelet Lace Cotton And Linen Men's Shirt
${function() {
const variantData = data.variant || {"id":"4551a70f-8ec6-4f3b-bf43-f647ad57c40f","product_id":"42d10635-2c2b-4d3b-b8de-b03dbdb8dffe","title":"Green-M","weight_unit":"g","inventory_quantity":878,"sku":"","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c0d49dc49d362453592d95938265e92.jpeg","path":"2c0d49dc49d362453592d95938265e92.jpeg","width":536,"height":700,"alt":"","aspect_ratio":0.7657142857142857},"wholesale_price":[{"price":22.9,"min_quantity":1}],"weight":"270","compare_at_price":"22.9","price":"22.9","retail_price":"22.9","available":true,"url":"\/products\/sayo-tomasyon-eyelet-lace-cotton-and-linen-mens-shirt?variant=4551a70f-8ec6-4f3b-bf43-f647ad57c40f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":479};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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
$22.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":"4551a70f-8ec6-4f3b-bf43-f647ad57c40f","product_id":"42d10635-2c2b-4d3b-b8de-b03dbdb8dffe","title":"Green-M","weight_unit":"g","inventory_quantity":878,"sku":"","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c0d49dc49d362453592d95938265e92.jpeg","path":"2c0d49dc49d362453592d95938265e92.jpeg","width":536,"height":700,"alt":"","aspect_ratio":0.7657142857142857},"wholesale_price":[{"price":22.9,"min_quantity":1}],"weight":"270","compare_at_price":"22.9","price":"22.9","retail_price":"22.9","available":true,"url":"\/products\/sayo-tomasyon-eyelet-lace-cotton-and-linen-mens-shirt?variant=4551a70f-8ec6-4f3b-bf43-f647ad57c40f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":479};
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.