${function() {
const variantData = data.variant || {"id":"d3d6211a-9e45-49f7-a0fe-1caf8f255506","product_id":"792b5c5a-d484-4982-9a83-6d77b24930a3","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"40528386-pink-s","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03b120655dc8fa2da8852f375436c388.jpeg","path":"03b120655dc8fa2da8852f375436c388.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0","compare_at_price":"46","price":"24","retail_price":"46","available":true,"url":"\/products\/sportlift-one-high-rise-in-pink?variant=d3d6211a-9e45-49f7-a0fe-1caf8f255506","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":48,"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":"d3d6211a-9e45-49f7-a0fe-1caf8f255506","product_id":"792b5c5a-d484-4982-9a83-6d77b24930a3","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"40528386-pink-s","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03b120655dc8fa2da8852f375436c388.jpeg","path":"03b120655dc8fa2da8852f375436c388.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0","compare_at_price":"46","price":"24","retail_price":"46","available":true,"url":"\/products\/sportlift-one-high-rise-in-pink?variant=d3d6211a-9e45-49f7-a0fe-1caf8f255506","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}