BRANCH TEK Men's Casual Plaid Striped Linen Cotton Shirts Single Patch Pocket Comfortable Breath Standard-fit Long Sleeve Button-down Shirt
Apparel & Accessories > Clothing > Shirts & Tops
${function() {
const variantData = data.variant || {"id":"88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","product_id":"0b02d7d3-0e23-44f8-9d62-049019669010","title":"5-5-39","weight_unit":"kg","inventory_quantity":957,"sku":"","barcode":"","position":13,"option1":"5-5","option2":"39","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76cb3a70715705bac1b689a78a64f7f2.jpeg","path":"76cb3a70715705bac1b689a78a64f7f2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.8,"min_quantity":1}],"weight":"0.36","compare_at_price":"24.8","price":"24.8","retail_price":"24.8","available":true,"url":"\/products\/branch-tek-mens-casual-plaid-striped-linen-cotton-shirts-single-patch-pocket-comfortable-breath-standard-fit-long-sleeve-button-down-shirt?variant=88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","available_quantity":999999999,"options":[{"name":"color","value":"5-5"},{"name":"size","value":"39"}],"off_ratio":0,"flashsale_info":[],"sales":298};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
5-5
${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:
39
${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
$24.80
${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":"88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","product_id":"0b02d7d3-0e23-44f8-9d62-049019669010","title":"5-5-39","weight_unit":"kg","inventory_quantity":957,"sku":"","barcode":"","position":13,"option1":"5-5","option2":"39","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76cb3a70715705bac1b689a78a64f7f2.jpeg","path":"76cb3a70715705bac1b689a78a64f7f2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.8,"min_quantity":1}],"weight":"0.36","compare_at_price":"24.8","price":"24.8","retail_price":"24.8","available":true,"url":"\/products\/branch-tek-mens-casual-plaid-striped-linen-cotton-shirts-single-patch-pocket-comfortable-breath-standard-fit-long-sleeve-button-down-shirt?variant=88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","available_quantity":999999999,"options":[{"name":"color","value":"5-5"},{"name":"size","value":"39"}],"off_ratio":0,"flashsale_info":[],"sales":298};
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":"88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","product_id":"0b02d7d3-0e23-44f8-9d62-049019669010","title":"5-5-39","weight_unit":"kg","inventory_quantity":957,"sku":"","barcode":"","position":13,"option1":"5-5","option2":"39","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76cb3a70715705bac1b689a78a64f7f2.jpeg","path":"76cb3a70715705bac1b689a78a64f7f2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.8,"min_quantity":1}],"weight":"0.36","compare_at_price":"24.8","price":"24.8","retail_price":"24.8","available":true,"url":"\/products\/branch-tek-mens-casual-plaid-striped-linen-cotton-shirts-single-patch-pocket-comfortable-breath-standard-fit-long-sleeve-button-down-shirt?variant=88bcaa9e-b8b2-441a-bac1-2c666bc93f9a","available_quantity":999999999,"options":[{"name":"color","value":"5-5"},{"name":"size","value":"39"}],"off_ratio":0,"flashsale_info":[],"sales":298};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}