${function() {
const variantData = data.variant || {"id":"b08e0555-5253-449e-9918-094d61e5abe8","product_id":"aa04b548-5237-4bb0-bf88-468170c4d9d4","title":"Black-M","weight_unit":"g","inventory_quantity":987,"sku":"SKU102258510002","barcode":"","position":2,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fbec5e06504ed21c175dd51edacf317b.jpeg","path":"fbec5e06504ed21c175dd51edacf317b.jpeg","width":800,"height":800,"alt":"Hide In My Crotch Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"270","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/hide-in-my-crotch-print-mens-shorts?variant=b08e0555-5253-449e-9918-094d61e5abe8","available_quantity":987,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":8};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"b08e0555-5253-449e-9918-094d61e5abe8","product_id":"aa04b548-5237-4bb0-bf88-468170c4d9d4","title":"Black-M","weight_unit":"g","inventory_quantity":987,"sku":"SKU102258510002","barcode":"","position":2,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fbec5e06504ed21c175dd51edacf317b.jpeg","path":"fbec5e06504ed21c175dd51edacf317b.jpeg","width":800,"height":800,"alt":"Hide In My Crotch Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"270","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/hide-in-my-crotch-print-mens-shorts?variant=b08e0555-5253-449e-9918-094d61e5abe8","available_quantity":987,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":8};
return `
`
}()}