Techwear Street Technology Casual Cargo Pants
1032
${function() {
const variantData = data.variant || {"id":"2d37740d-3475-44dc-916f-f0b84ca8d7b1","product_id":"c56bdbe5-b0ff-485c-9db2-dcc6678afcb7","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1799e679-61ee-4af9-ac83-e7e511c5c473","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/629f1462d033bf21fd92a3bdf280dcd4.jpeg","path":"629f1462d033bf21fd92a3bdf280dcd4.jpeg","width":800,"height":793,"alt":"Techwear Street Technology Casual Cargo Pants Techwear Shop","aspect_ratio":1.008827238335435},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"400","compare_at_price":"36.95","price":"32.95","retail_price":"36.95","available":true,"url":"\/products\/project-x-patchwork-purple-street-pants-ivnv?variant=2d37740d-3475-44dc-916f-f0b84ca8d7b1","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":11,"flashsale_info":[],"sales":2};
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":"2d37740d-3475-44dc-916f-f0b84ca8d7b1","product_id":"c56bdbe5-b0ff-485c-9db2-dcc6678afcb7","title":"black-M","weight_unit":"g","inventory_quantity":999,"sku":"1799e679-61ee-4af9-ac83-e7e511c5c473","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/629f1462d033bf21fd92a3bdf280dcd4.jpeg","path":"629f1462d033bf21fd92a3bdf280dcd4.jpeg","width":800,"height":793,"alt":"Techwear Street Technology Casual Cargo Pants Techwear Shop","aspect_ratio":1.008827238335435},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"400","compare_at_price":"36.95","price":"32.95","retail_price":"36.95","available":true,"url":"\/products\/project-x-patchwork-purple-street-pants-ivnv?variant=2d37740d-3475-44dc-916f-f0b84ca8d7b1","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":11,"flashsale_info":[],"sales":2};
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 `
`;
}()}