${function() {
const variantData = data.variant || {"id":"eafef7e5-c898-4861-98bc-3f04180e1670","product_id":"8686f838-09b8-492a-a605-e0c86082bc36","title":"Black-S","weight_unit":"g","inventory_quantity":633,"sku":"101855180008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6a02a0f5beb0fb022da2756c8c8633b.jpeg","path":"a6a02a0f5beb0fb022da2756c8c8633b.jpeg","width":1200,"height":1200,"alt":"The Skeleton Love Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/the-skeleton-love-printed-mens-t-shirt?variant=eafef7e5-c898-4861-98bc-3f04180e1670","available_quantity":633,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":51};
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":"eafef7e5-c898-4861-98bc-3f04180e1670","product_id":"8686f838-09b8-492a-a605-e0c86082bc36","title":"Black-S","weight_unit":"g","inventory_quantity":633,"sku":"101855180008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6a02a0f5beb0fb022da2756c8c8633b.jpeg","path":"a6a02a0f5beb0fb022da2756c8c8633b.jpeg","width":1200,"height":1200,"alt":"The Skeleton Love Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/the-skeleton-love-printed-mens-t-shirt?variant=eafef7e5-c898-4861-98bc-3f04180e1670","available_quantity":633,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":51};
return `
`
}()}