Techwear Hip-Hop Strapped Cargo Pants
${function() {
const variantData = data.variant || {"id":"8b58a0de-8e35-4525-a846-88b9a1cf5873","product_id":"01d11009-a9e1-4914-b825-5e88a191745d","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1454338582345990145","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/243503f1951876a78d1dd90cd2b97e56.jpeg","path":"243503f1951876a78d1dd90cd2b97e56.jpeg","width":800,"height":800,"alt":"Techwear Hip-Hop Strapped Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":37.95,"min_quantity":1}],"weight":"500","compare_at_price":"42.44","price":"37.95","retail_price":"42.44","available":true,"url":"\/products\/hiphop-strapped-pants?variant=8b58a0de-8e35-4525-a846-88b9a1cf5873","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":11,"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":"8b58a0de-8e35-4525-a846-88b9a1cf5873","product_id":"01d11009-a9e1-4914-b825-5e88a191745d","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1454338582345990145","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/243503f1951876a78d1dd90cd2b97e56.jpeg","path":"243503f1951876a78d1dd90cd2b97e56.jpeg","width":800,"height":800,"alt":"Techwear Hip-Hop Strapped Cargo Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":37.95,"min_quantity":1}],"weight":"500","compare_at_price":"42.44","price":"37.95","retail_price":"42.44","available":true,"url":"\/products\/hiphop-strapped-pants?variant=8b58a0de-8e35-4525-a846-88b9a1cf5873","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":11,"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 `
`;
}()}