${function() {
const variantData = data.variant || {"id":"20eef523-c24d-421a-b2a8-79fc07a6f059","product_id":"654a2a9b-a2bd-4e6c-bc74-aad3f08969e8","title":"658-S","weight_unit":"kg","inventory_quantity":1000,"sku":"658 S-46153345","barcode":"","position":1,"option1":"658","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e931ff0173e7b9f04d73ba568efa784.jpeg","path":"9e931ff0173e7b9f04d73ba568efa784.jpeg","width":650,"height":780,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":34.68,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.68","retail_price":"0","available":true,"url":"\/products\/womens-high-waist-retro-flared-fit-hip-lift-stretch-ripped-jeans-208565411865?variant=20eef523-c24d-421a-b2a8-79fc07a6f059","available_quantity":999999999,"options":[{"name":"Color","value":"658"},{"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":"20eef523-c24d-421a-b2a8-79fc07a6f059","product_id":"654a2a9b-a2bd-4e6c-bc74-aad3f08969e8","title":"658-S","weight_unit":"kg","inventory_quantity":1000,"sku":"658 S-46153345","barcode":"","position":1,"option1":"658","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e931ff0173e7b9f04d73ba568efa784.jpeg","path":"9e931ff0173e7b9f04d73ba568efa784.jpeg","width":650,"height":780,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":34.68,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.68","retail_price":"0","available":true,"url":"\/products\/womens-high-waist-retro-flared-fit-hip-lift-stretch-ripped-jeans-208565411865?variant=20eef523-c24d-421a-b2a8-79fc07a6f059","available_quantity":999999999,"options":[{"name":"Color","value":"658"},{"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}
`
}()}