Techwear Loose Multi-Pockets Cargo Pants
${function() {
const variantData = data.variant || {"id":"ffdc4c69-1097-4e8f-ae60-3918bc0732dc","product_id":"0495b93c-8b38-48d9-aadb-9287eb005fe6","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1468416122580680705","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1786466ad01778c65dcd1d968b71d87b.jpeg","path":"1786466ad01778c65dcd1d968b71d87b.jpeg","width":800,"height":800,"alt":"Techwear Loose Multi-Pockets Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":41.95,"min_quantity":1}],"weight":"500","compare_at_price":"47.44","price":"41.95","retail_price":"47.44","available":true,"url":"\/products\/loose-multipocket-pants-1oju?variant=ffdc4c69-1097-4e8f-ae60-3918bc0732dc","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":12,"flashsale_info":[],"sales":1};
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":"ffdc4c69-1097-4e8f-ae60-3918bc0732dc","product_id":"0495b93c-8b38-48d9-aadb-9287eb005fe6","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1468416122580680705","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1786466ad01778c65dcd1d968b71d87b.jpeg","path":"1786466ad01778c65dcd1d968b71d87b.jpeg","width":800,"height":800,"alt":"Techwear Loose Multi-Pockets Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":41.95,"min_quantity":1}],"weight":"500","compare_at_price":"47.44","price":"41.95","retail_price":"47.44","available":true,"url":"\/products\/loose-multipocket-pants-1oju?variant=ffdc4c69-1097-4e8f-ae60-3918bc0732dc","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":12,"flashsale_info":[],"sales":1};
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 `
`;
}()}