${function() {
const variantData = data.variant || {"id":"54cda477-f358-4f27-8853-3faace62c141","product_id":"a28170dc-0b2a-471c-b874-33e947d222f0","title":"As shown-3XL","weight_unit":"kg","inventory_quantity":20,"sku":"DM042817_As shown_3XL","barcode":"","position":1,"option1":"As shown","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7606116b9dd32cda0c6e1d523b9d1d8.jpeg","path":"e7606116b9dd32cda0c6e1d523b9d1d8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"33.99","retail_price":"33","available":true,"url":"\/products\/pre-sale-casual-all-match-check-shirt-m8ac?variant=54cda477-f358-4f27-8853-3faace62c141","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"3XL"}],"off_ratio":0,"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.
Sku : DM042817_As shown_3XL
${function(){
const variantData = data.variant || {"id":"54cda477-f358-4f27-8853-3faace62c141","product_id":"a28170dc-0b2a-471c-b874-33e947d222f0","title":"As shown-3XL","weight_unit":"kg","inventory_quantity":20,"sku":"DM042817_As shown_3XL","barcode":"","position":1,"option1":"As shown","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7606116b9dd32cda0c6e1d523b9d1d8.jpeg","path":"e7606116b9dd32cda0c6e1d523b9d1d8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"33.99","retail_price":"33","available":true,"url":"\/products\/pre-sale-casual-all-match-check-shirt-m8ac?variant=54cda477-f358-4f27-8853-3faace62c141","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}