Men's Loose Straight Cargo Pants Multi-Pocket Reflective Sports Pants
${function() {
const variantData = data.variant || {"id":"d9d589fe-10c9-48de-9fa0-2cd2f18aac2c","product_id":"1f8e2b3c-ced0-46b8-96be-4a8505bcd6b4","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1714895049120100354","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5cf50b7c3194375719e835aa0afeacf.jpeg","path":"d5cf50b7c3194375719e835aa0afeacf.jpeg","width":800,"height":800,"alt":"Men's Loose Straight Cargo Pants Multi-Pocket Reflective Sports Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":38.85,"min_quantity":1}],"weight":"380","compare_at_price":"38.95","price":"38.85","retail_price":"38.95","available":true,"url":"\/products\/mens-loose-straight-cargo-pants-multi-pocket-reflective-sports-pants?variant=d9d589fe-10c9-48de-9fa0-2cd2f18aac2c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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":"d9d589fe-10c9-48de-9fa0-2cd2f18aac2c","product_id":"1f8e2b3c-ced0-46b8-96be-4a8505bcd6b4","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1714895049120100354","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5cf50b7c3194375719e835aa0afeacf.jpeg","path":"d5cf50b7c3194375719e835aa0afeacf.jpeg","width":800,"height":800,"alt":"Men's Loose Straight Cargo Pants Multi-Pocket Reflective Sports Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":38.85,"min_quantity":1}],"weight":"380","compare_at_price":"38.95","price":"38.85","retail_price":"38.95","available":true,"url":"\/products\/mens-loose-straight-cargo-pants-multi-pocket-reflective-sports-pants?variant=d9d589fe-10c9-48de-9fa0-2cd2f18aac2c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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 `
`;
}()}