SAYO TOMASYON Autumn Men Loose Corduroy Long-sleeved Shirt Turn-down Collar Single Breasted Retro Coats Solid Color High Quality Casual Shirts
${function() {
const variantData = data.variant || {"id":"6f4e6126-10dc-4b8b-a6ae-9da28778fb8a","product_id":"8e2d5684-7684-4ab5-9446-38ec06002759","title":"Brown-M 40-50KG","weight_unit":"g","inventory_quantity":849,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"M 40-50KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dfe92e0fe3a4dd8c0109931bab084202.jpeg","path":"dfe92e0fe3a4dd8c0109931bab084202.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.5,"min_quantity":1}],"weight":"480","compare_at_price":"26.5","price":"26.5","retail_price":"26.5","available":true,"url":"\/products\/sayo-tomasyon-autumn-men-loose-corduroy-long-sleeved-shirt-turn-down-collar-single-breasted-retro-coats-solid-color-high-quality-casual-shirts?variant=6f4e6126-10dc-4b8b-a6ae-9da28778fb8a","available_quantity":999999999,"options":[{"name":"color","value":"Brown"},{"name":"size","value":"M 40-50KG"}],"off_ratio":0,"flashsale_info":[],"sales":677};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Brown
${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 40-50KG
${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
$26.50
${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":"6f4e6126-10dc-4b8b-a6ae-9da28778fb8a","product_id":"8e2d5684-7684-4ab5-9446-38ec06002759","title":"Brown-M 40-50KG","weight_unit":"g","inventory_quantity":849,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"M 40-50KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dfe92e0fe3a4dd8c0109931bab084202.jpeg","path":"dfe92e0fe3a4dd8c0109931bab084202.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.5,"min_quantity":1}],"weight":"480","compare_at_price":"26.5","price":"26.5","retail_price":"26.5","available":true,"url":"\/products\/sayo-tomasyon-autumn-men-loose-corduroy-long-sleeved-shirt-turn-down-collar-single-breasted-retro-coats-solid-color-high-quality-casual-shirts?variant=6f4e6126-10dc-4b8b-a6ae-9da28778fb8a","available_quantity":999999999,"options":[{"name":"color","value":"Brown"},{"name":"size","value":"M 40-50KG"}],"off_ratio":0,"flashsale_info":[],"sales":677};
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.