Men's Crew Neck Patchwork Knit Pullover Sweater
${function() {
const variantData = data.variant || {"id":"63577b1d-0f39-4743-be59-35c371393ad3","product_id":"c775ee87-d23e-41ae-88ac-2c89a024333a","title":"Gray-S","weight_unit":"g","inventory_quantity":752,"sku":"SKU102493140001","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9466886886686393adaeb67d2633f952.jpeg","path":"9466886886686393adaeb67d2633f952.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"450","compare_at_price":"70","price":"45","retail_price":"70","available":true,"url":"\/products\/mens-crew-neck-patchwork-knit-pullover-sweater?variant=63577b1d-0f39-4743-be59-35c371393ad3","available_quantity":752,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":42};
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.