${function() {
const variantData = data.variant || {"id":"74cec9f7-7dce-4446-b3b7-dec59201750c","product_id":"86e35684-c1be-4016-b064-70d7a048ffa8","title":"White-S","weight_unit":"g","inventory_quantity":99991,"sku":"101632570001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d9cd23e4c55766009ffd1fe0fbbbcec.jpeg","path":"1d9cd23e4c55766009ffd1fe0fbbbcec.jpeg","width":1440,"height":1440,"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=74cec9f7-7dce-4446-b3b7-dec59201750c","available_quantity":99991,"options":[{"name":"Color","value":"White"},{"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":"74cec9f7-7dce-4446-b3b7-dec59201750c","product_id":"86e35684-c1be-4016-b064-70d7a048ffa8","title":"White-S","weight_unit":"g","inventory_quantity":99991,"sku":"101632570001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d9cd23e4c55766009ffd1fe0fbbbcec.jpeg","path":"1d9cd23e4c55766009ffd1fe0fbbbcec.jpeg","width":1440,"height":1440,"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=74cec9f7-7dce-4446-b3b7-dec59201750c","available_quantity":99991,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":384};
return `
`
}()}