${function() {
const variantData = data.variant || {"id":"8fce7793-f1f6-4465-a561-46619e9ed2c4","product_id":"a9978cec-461d-4302-ad78-35c232642890","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1413096982697787393","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73dd439a81a9b85437bde2a488e79346.jpeg","path":"73dd439a81a9b85437bde2a488e79346.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.51,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.51","retail_price":"0","available":true,"url":"\/products\/personalized-design-button-t-shirt?variant=8fce7793-f1f6-4465-a561-46619e9ed2c4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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":"8fce7793-f1f6-4465-a561-46619e9ed2c4","product_id":"a9978cec-461d-4302-ad78-35c232642890","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1413096982697787393","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73dd439a81a9b85437bde2a488e79346.jpeg","path":"73dd439a81a9b85437bde2a488e79346.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.51,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.51","retail_price":"0","available":true,"url":"\/products\/personalized-design-button-t-shirt?variant=8fce7793-f1f6-4465-a561-46619e9ed2c4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}