Men's Functional Workwear Pants
1064
${function() {
const variantData = data.variant || {"id":"1811cc0a-e837-4691-be43-bfefd4240e65","product_id":"6cc8c89b-6b98-4fca-8bc5-6d65a20d8580","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1567077734501367810","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be1609d89d4e073f9a44a1415ebd98b2.jpeg","path":"be1609d89d4e073f9a44a1415ebd98b2.jpeg","width":800,"height":800,"alt":"Men's Functional Workwear Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":33.95,"min_quantity":1}],"weight":"300","compare_at_price":"41.95","price":"33.95","retail_price":"41.95","available":true,"url":"\/products\/mens-functional-workwear-pants?variant=1811cc0a-e837-4691-be43-bfefd4240e65","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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.
${function(){
const variantData = data.variant || {"id":"1811cc0a-e837-4691-be43-bfefd4240e65","product_id":"6cc8c89b-6b98-4fca-8bc5-6d65a20d8580","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1567077734501367810","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be1609d89d4e073f9a44a1415ebd98b2.jpeg","path":"be1609d89d4e073f9a44a1415ebd98b2.jpeg","width":800,"height":800,"alt":"Men's Functional Workwear Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":33.95,"min_quantity":1}],"weight":"300","compare_at_price":"41.95","price":"33.95","retail_price":"41.95","available":true,"url":"\/products\/mens-functional-workwear-pants?variant=1811cc0a-e837-4691-be43-bfefd4240e65","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":2};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}