Men's Diamond Pattern Knit Simple Pullover Sweater
${function() {
const variantData = data.variant || {"id":"aba32f41-d1bc-4a50-b94c-350e20ca3976","product_id":"423787e2-84ee-44a3-bd44-ac19898b5c18","title":"Beige-S","weight_unit":"g","inventory_quantity":724,"sku":"SKU102716400001","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3328d2324ff87c0682b7d369016b95fd.jpeg","path":"3328d2324ff87c0682b7d369016b95fd.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"450","compare_at_price":"75","price":"40","retail_price":"75","available":true,"url":"\/products\/mens-diamond-pattern-knit-simple-pullover-sweater?variant=aba32f41-d1bc-4a50-b94c-350e20ca3976","available_quantity":724,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":43};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 70;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.