${function() {
const variantData = data.variant || {"id":"070aa9f1-d2dc-45f1-b9d7-2bf2f408c6aa","product_id":"0c1a426f-9694-4551-97e2-e13a0e25aec2","title":"Peru-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PTC23082418_COF_M","barcode":"","position":6,"option1":"Peru","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7436fbebffbbbfe4c2f6a01a548bb96e.png","path":"7436fbebffbbbfe4c2f6a01a548bb96e.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.98","retail_price":"0","available":true,"url":"\/products\/theres-nobody-here-unisex-printed-casual-washed-hoodie-sweatshirt-ptc23082418-1?variant=070aa9f1-d2dc-45f1-b9d7-2bf2f408c6aa","available_quantity":999999999,"options":[{"name":"Color","value":"Peru"},{"name":"Size","value":"M"}],"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.
${function(){
const variantData = data.variant || {"id":"070aa9f1-d2dc-45f1-b9d7-2bf2f408c6aa","product_id":"0c1a426f-9694-4551-97e2-e13a0e25aec2","title":"Peru-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PTC23082418_COF_M","barcode":"","position":6,"option1":"Peru","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7436fbebffbbbfe4c2f6a01a548bb96e.png","path":"7436fbebffbbbfe4c2f6a01a548bb96e.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.98","retail_price":"0","available":true,"url":"\/products\/theres-nobody-here-unisex-printed-casual-washed-hoodie-sweatshirt-ptc23082418-1?variant=070aa9f1-d2dc-45f1-b9d7-2bf2f408c6aa","available_quantity":999999999,"options":[{"name":"Color","value":"Peru"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}