${function() {
const variantData = data.variant || {"id":"5f17737a-f00e-4b06-a34c-40cb6786dd24","product_id":"acaad10d-b56d-4a44-870e-177a72219858","title":"Black-M","weight_unit":"g","inventory_quantity":686,"sku":"SKU102257600001","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ac53d28b5f16cdd05a33d1ab2f41111.jpeg","path":"6ac53d28b5f16cdd05a33d1ab2f41111.jpeg","width":2000,"height":2000,"alt":"Bondage Game Skull Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"217","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/bondage-game-skull-print-mens-shorts?variant=5f17737a-f00e-4b06-a34c-40cb6786dd24","available_quantity":686,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":4};
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":"5f17737a-f00e-4b06-a34c-40cb6786dd24","product_id":"acaad10d-b56d-4a44-870e-177a72219858","title":"Black-M","weight_unit":"g","inventory_quantity":686,"sku":"SKU102257600001","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ac53d28b5f16cdd05a33d1ab2f41111.jpeg","path":"6ac53d28b5f16cdd05a33d1ab2f41111.jpeg","width":2000,"height":2000,"alt":"Bondage Game Skull Print Men's Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"217","compare_at_price":"31.48","price":"21.98","retail_price":"31.48","available":true,"url":"\/products\/bondage-game-skull-print-mens-shorts?variant=5f17737a-f00e-4b06-a34c-40cb6786dd24","available_quantity":686,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":4};
return `
`
}()}