Techwear Patchwork Pocket Cargo Pants
${function() {
const variantData = data.variant || {"id":"eec4cff9-abbb-46ee-b4cb-39929f16b614","product_id":"48c600e8-71d6-420d-8f71-b2abb1ec01ed","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"36660717-7b43-4f2c-9b58-6c487e0463c0","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7a79a3d6059957f4f410bd398387416.jpeg","path":"e7a79a3d6059957f4f410bd398387416.jpeg","width":800,"height":800,"alt":"Techwear Patchwork Pocket Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"0","compare_at_price":"32.95","price":"29.95","retail_price":"32.95","available":true,"url":"\/products\/casual-patchwork-pocket-pants-7q0t?variant=eec4cff9-abbb-46ee-b4cb-39929f16b614","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":9,"flashsale_info":[],"sales":0};
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":"eec4cff9-abbb-46ee-b4cb-39929f16b614","product_id":"48c600e8-71d6-420d-8f71-b2abb1ec01ed","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"36660717-7b43-4f2c-9b58-6c487e0463c0","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7a79a3d6059957f4f410bd398387416.jpeg","path":"e7a79a3d6059957f4f410bd398387416.jpeg","width":800,"height":800,"alt":"Techwear Patchwork Pocket Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"0","compare_at_price":"32.95","price":"29.95","retail_price":"32.95","available":true,"url":"\/products\/casual-patchwork-pocket-pants-7q0t?variant=eec4cff9-abbb-46ee-b4cb-39929f16b614","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":9,"flashsale_info":[],"sales":0};
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 `
`;
}()}