${function() {
const variantData = data.variant || {"id":"766476f2-2817-4b75-9b64-58e7d8b0f5a5","product_id":"a4ef2407-f04a-49d8-8106-5167e5286b51","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Grey S-48582405","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb6284050915e9292d93e0f9c5359478.jpeg","path":"bb6284050915e9292d93e0f9c5359478.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.67","retail_price":"0","available":true,"url":"\/products\/vintage-loose-striped-shirt-casual-wide-leg-pants-two-piece-outfits-208565113713?variant=766476f2-2817-4b75-9b64-58e7d8b0f5a5","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"766476f2-2817-4b75-9b64-58e7d8b0f5a5","product_id":"a4ef2407-f04a-49d8-8106-5167e5286b51","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Grey S-48582405","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb6284050915e9292d93e0f9c5359478.jpeg","path":"bb6284050915e9292d93e0f9c5359478.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.67","retail_price":"0","available":true,"url":"\/products\/vintage-loose-striped-shirt-casual-wide-leg-pants-two-piece-outfits-208565113713?variant=766476f2-2817-4b75-9b64-58e7d8b0f5a5","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}