${function() {
const variantData = data.variant || {"id":"e27a58a0-37c5-49f5-8d20-3b5df68b15f1","product_id":"86e35684-c1be-4016-b064-70d7a048ffa8","title":"Black-S","weight_unit":"g","inventory_quantity":99988,"sku":"101632570008","barcode":"","position":8,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ec2adbc3cca73c0fc30f89f39976ff8.jpeg","path":"9ec2adbc3cca73c0fc30f89f39976ff8.jpeg","width":800,"height":800,"alt":"In Memory Of When I Gave A Fuck Print T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"256","compare_at_price":"31.48","price":"16.98","retail_price":"31.48","available":true,"url":"\/products\/in-memory-of-when-i-gave-a-fuck-print-t-shirt?variant=e27a58a0-37c5-49f5-8d20-3b5df68b15f1","available_quantity":99988,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":384};
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":"e27a58a0-37c5-49f5-8d20-3b5df68b15f1","product_id":"86e35684-c1be-4016-b064-70d7a048ffa8","title":"Black-S","weight_unit":"g","inventory_quantity":99988,"sku":"101632570008","barcode":"","position":8,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ec2adbc3cca73c0fc30f89f39976ff8.jpeg","path":"9ec2adbc3cca73c0fc30f89f39976ff8.jpeg","width":800,"height":800,"alt":"In Memory Of When I Gave A Fuck Print T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"256","compare_at_price":"31.48","price":"16.98","retail_price":"31.48","available":true,"url":"\/products\/in-memory-of-when-i-gave-a-fuck-print-t-shirt?variant=e27a58a0-37c5-49f5-8d20-3b5df68b15f1","available_quantity":99988,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":384};
return `
`
}()}