Strapped Drawstring Black Shorts Pants
SPHT2RHUXM7
${function() {
const variantData = data.variant || {"id":"5347f8a3-7b47-4416-82bf-8d29eb5d5e0b","product_id":"576f35a9-0508-4077-aad1-68907eab7481","title":"black-S","weight_unit":"g","inventory_quantity":0,"sku":"8500e680-2748-4440-9dbd-6d0c556b5e29","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7da52728f6aacb6af42731b7893cd9ff.jpeg","path":"7da52728f6aacb6af42731b7893cd9ff.jpeg","width":800,"height":800,"alt":"Strapped Drawstring Black Shorts Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"250","compare_at_price":"30","price":"24.99","retail_price":"30","available":true,"url":"\/products\/strapped-drawstring-black-shorts-pants_wd8z?variant=5347f8a3-7b47-4416-82bf-8d29eb5d5e0b","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":92};
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":"5347f8a3-7b47-4416-82bf-8d29eb5d5e0b","product_id":"576f35a9-0508-4077-aad1-68907eab7481","title":"black-S","weight_unit":"g","inventory_quantity":0,"sku":"8500e680-2748-4440-9dbd-6d0c556b5e29","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7da52728f6aacb6af42731b7893cd9ff.jpeg","path":"7da52728f6aacb6af42731b7893cd9ff.jpeg","width":800,"height":800,"alt":"Strapped Drawstring Black Shorts Pants Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"250","compare_at_price":"30","price":"24.99","retail_price":"30","available":true,"url":"\/products\/strapped-drawstring-black-shorts-pants_wd8z?variant=5347f8a3-7b47-4416-82bf-8d29eb5d5e0b","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":92};
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 `
`;
}()}