${function() {
const variantData = data.variant || {"id":"e3dba149-86b0-4bd7-9c27-fd48603af446","product_id":"26cbf92c-98d0-4d53-85cf-1fa44089fdbe","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230510969-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebd1f37fa706020826f83eca179a60b7.jpeg","path":"ebd1f37fa706020826f83eca179a60b7.jpeg","width":800,"height":800,"alt":"Thin and elegant loose wide-leg casual cropped pants","aspect_ratio":1},"wholesale_price":[{"price":41.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"41.59","retail_price":"50","available":true,"url":"\/products\/thin-and-elegant-loose-wide-leg-casual-cropped-pants?variant=e3dba149-86b0-4bd7-9c27-fd48603af446","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
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.