${function() {
const variantData = data.variant || {"id":"006bf382-c0a2-4083-bb73-9e03f434306c","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Dark Gray-S","weight_unit":"g","inventory_quantity":578,"sku":"101835290017","barcode":"","position":17,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f5651ffc7633afbfda28bdd9496f219.jpeg","path":"5f5651ffc7633afbfda28bdd9496f219.jpeg","width":800,"height":800,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=006bf382-c0a2-4083-bb73-9e03f434306c","available_quantity":578,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1941};
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":"006bf382-c0a2-4083-bb73-9e03f434306c","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Dark Gray-S","weight_unit":"g","inventory_quantity":578,"sku":"101835290017","barcode":"","position":17,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f5651ffc7633afbfda28bdd9496f219.jpeg","path":"5f5651ffc7633afbfda28bdd9496f219.jpeg","width":800,"height":800,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=006bf382-c0a2-4083-bb73-9e03f434306c","available_quantity":578,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1941};
return `
`
}()}