Men's Loose Straight Cargo Pants Multi-Pocket Reflective Sports Pants
${function() {
const variantData = data.variant || {"id":"d65cb3f2-7108-470a-bf75-e7227f7298f0","product_id":"1f8e2b3c-ced0-46b8-96be-4a8505bcd6b4","title":"Black + white-S","weight_unit":"g","inventory_quantity":999,"sku":"1714895049229152258","barcode":"","position":6,"option1":"Black + white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a647009762f739b54b1a5ce5371e7f8c.jpeg","path":"a647009762f739b54b1a5ce5371e7f8c.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=d65cb3f2-7108-470a-bf75-e7227f7298f0","available_quantity":999999999,"options":[{"name":"Color","value":"Black + white"},{"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":"d65cb3f2-7108-470a-bf75-e7227f7298f0","product_id":"1f8e2b3c-ced0-46b8-96be-4a8505bcd6b4","title":"Black + white-S","weight_unit":"g","inventory_quantity":999,"sku":"1714895049229152258","barcode":"","position":6,"option1":"Black + white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a647009762f739b54b1a5ce5371e7f8c.jpeg","path":"a647009762f739b54b1a5ce5371e7f8c.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=d65cb3f2-7108-470a-bf75-e7227f7298f0","available_quantity":999999999,"options":[{"name":"Color","value":"Black + white"},{"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 `
`;
}()}