Techwear Waterproof Tactical Cargo Pants
${function() {
const variantData = data.variant || {"id":"a4cf27be-457d-4521-8557-b685ce1b978e","product_id":"0b51a1d0-5907-4f56-9415-1a1a3e8577ed","title":"Khaki-M","weight_unit":"g","inventory_quantity":999,"sku":"1629391889151549441","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9132f399ba4fba46efc234de9a699cc.jpeg","path":"e9132f399ba4fba46efc234de9a699cc.jpeg","width":640,"height":960,"alt":"Techwear Waterproof Tactical Cargo Pants Techwear Shop","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":60.95,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"60.95","retail_price":"0","available":true,"url":"\/products\/waterproof-tactical-cargo-pants?variant=a4cf27be-457d-4521-8557-b685ce1b978e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"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":"a4cf27be-457d-4521-8557-b685ce1b978e","product_id":"0b51a1d0-5907-4f56-9415-1a1a3e8577ed","title":"Khaki-M","weight_unit":"g","inventory_quantity":999,"sku":"1629391889151549441","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9132f399ba4fba46efc234de9a699cc.jpeg","path":"e9132f399ba4fba46efc234de9a699cc.jpeg","width":640,"height":960,"alt":"Techwear Waterproof Tactical Cargo Pants Techwear Shop","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":60.95,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"60.95","retail_price":"0","available":true,"url":"\/products\/waterproof-tactical-cargo-pants?variant=a4cf27be-457d-4521-8557-b685ce1b978e","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"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 `
`;
}()}