${function() {
const variantData = data.variant || {"id":"17f89cf9-567b-44e0-9096-63a7fafe69a1","product_id":"92085a68-ea51-42c3-97fa-67d33b3ea9be","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XH3otVuuM-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e5f92eac20443416f17e96a463dc1a1.jpeg","path":"6e5f92eac20443416f17e96a463dc1a1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-and-personalized-sports-jersey-t-shirt?variant=17f89cf9-567b-44e0-9096-63a7fafe69a1","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.
Sku : XH3otVuuM-Red-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"17f89cf9-567b-44e0-9096-63a7fafe69a1","product_id":"92085a68-ea51-42c3-97fa-67d33b3ea9be","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XH3otVuuM-Red-S","barcode":"","position":6,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e5f92eac20443416f17e96a463dc1a1.jpeg","path":"6e5f92eac20443416f17e96a463dc1a1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-and-personalized-sports-jersey-t-shirt?variant=17f89cf9-567b-44e0-9096-63a7fafe69a1","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}