${function() {
const variantData = data.variant || {"id":"b01d7425-48ec-442e-a20b-3c7012292d45","product_id":"90656d88-0e90-4199-bcc5-bb0934d75497","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH305763-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d95a1a0e3b420abedd2590900e2a709.jpeg","path":"9d95a1a0e3b420abedd2590900e2a709.jpeg","width":675,"height":899,"alt":"","aspect_ratio":0.7508342602892102},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"52.99","price":"40.99","retail_price":"52.99","available":true,"url":"\/products\/womens-cat-lovers-casual-cable-hoodie-i2p5?variant=b01d7425-48ec-442e-a20b-3c7012292d45","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"b01d7425-48ec-442e-a20b-3c7012292d45","product_id":"90656d88-0e90-4199-bcc5-bb0934d75497","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH305763-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d95a1a0e3b420abedd2590900e2a709.jpeg","path":"9d95a1a0e3b420abedd2590900e2a709.jpeg","width":675,"height":899,"alt":"","aspect_ratio":0.7508342602892102},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"52.99","price":"40.99","retail_price":"52.99","available":true,"url":"\/products\/womens-cat-lovers-casual-cable-hoodie-i2p5?variant=b01d7425-48ec-442e-a20b-3c7012292d45","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}