${function() {
const variantData = data.variant || {"id":"0b53ad1d-31fd-484d-bb9e-9e7c8011fe22","product_id":"4bd490e2-3fd1-4681-a927-a5f278e31c0b","title":"White-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102121-white-s","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c07f85c326642fe969f034915364f315.jpeg","path":"c07f85c326642fe969f034915364f315.jpeg","width":900,"height":1200,"alt":"Casual Solid Color Round Neck Pencil Pants Suit","aspect_ratio":0.75},"wholesale_price":[{"price":38.21,"min_quantity":1}],"weight":"0","compare_at_price":"42.32","price":"38.21","retail_price":"42.32","available":true,"url":"\/products\/casual-solid-color-round-neck-pencil-pants-suit?variant=0b53ad1d-31fd-484d-bb9e-9e7c8011fe22","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":10,"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.