${function() {
const variantData = data.variant || {"id":"c46acaf4-c29b-4f74-aa17-8aa1b23c0e40","product_id":"16ebd4e6-2423-47dd-98b5-bb971f090317","title":"Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"23032101F-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdb25ef3a7ce710253619f1d9dd84afe.png","path":"fdb25ef3a7ce710253619f1d9dd84afe.png","width":960,"height":1200,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.48","price":"18.99","retail_price":"34.48","available":true,"url":"\/products\/trust-your-own-unique-path-women-long-sleeve-shirts?variant=c46acaf4-c29b-4f74-aa17-8aa1b23c0e40","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"c46acaf4-c29b-4f74-aa17-8aa1b23c0e40","product_id":"16ebd4e6-2423-47dd-98b5-bb971f090317","title":"Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"23032101F-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdb25ef3a7ce710253619f1d9dd84afe.png","path":"fdb25ef3a7ce710253619f1d9dd84afe.png","width":960,"height":1200,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.48","price":"18.99","retail_price":"34.48","available":true,"url":"\/products\/trust-your-own-unique-path-women-long-sleeve-shirts?variant=c46acaf4-c29b-4f74-aa17-8aa1b23c0e40","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}