BRANCH TEK Loose And Lazy Style Warm Winter Stand Collar Lamb Wool Cotton-padded Jacket Men
Apparel & Accessories > Clothing > Shirts & Tops
${function() {
const variantData = data.variant || {"id":"e3399692-ffd6-46af-9b46-7e98844c22c1","product_id":"d3eeff46-88c9-4932-8f98-b28e0dda57c2","title":"Gray-M","weight_unit":"g","inventory_quantity":712,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d70a046e6dbd2873f19e14bee85b216a.jpeg","path":"d70a046e6dbd2873f19e14bee85b216a.jpeg","width":1099,"height":1099,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.5,"min_quantity":1}],"weight":"520","compare_at_price":"51","price":"25.5","retail_price":"51","available":true,"url":"\/products\/branch-tek-loose-and-lazy-style-warm-winter-stand-collar-lamb-wool-cotton-padded-jacket-men?variant=e3399692-ffd6-46af-9b46-7e98844c22c1","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":392};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Gray
${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
$25.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":"e3399692-ffd6-46af-9b46-7e98844c22c1","product_id":"d3eeff46-88c9-4932-8f98-b28e0dda57c2","title":"Gray-M","weight_unit":"g","inventory_quantity":712,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d70a046e6dbd2873f19e14bee85b216a.jpeg","path":"d70a046e6dbd2873f19e14bee85b216a.jpeg","width":1099,"height":1099,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.5,"min_quantity":1}],"weight":"520","compare_at_price":"51","price":"25.5","retail_price":"51","available":true,"url":"\/products\/branch-tek-loose-and-lazy-style-warm-winter-stand-collar-lamb-wool-cotton-padded-jacket-men?variant=e3399692-ffd6-46af-9b46-7e98844c22c1","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":392};
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":"e3399692-ffd6-46af-9b46-7e98844c22c1","product_id":"d3eeff46-88c9-4932-8f98-b28e0dda57c2","title":"Gray-M","weight_unit":"g","inventory_quantity":712,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d70a046e6dbd2873f19e14bee85b216a.jpeg","path":"d70a046e6dbd2873f19e14bee85b216a.jpeg","width":1099,"height":1099,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.5,"min_quantity":1}],"weight":"520","compare_at_price":"51","price":"25.5","retail_price":"51","available":true,"url":"\/products\/branch-tek-loose-and-lazy-style-warm-winter-stand-collar-lamb-wool-cotton-padded-jacket-men?variant=e3399692-ffd6-46af-9b46-7e98844c22c1","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":392};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}