${function() {
const variantData = data.variant || {"id":"5f5ca032-7f09-47ba-88e3-cdf9341af840","product_id":"ff1304f4-1d17-4d8d-b45b-a4b2100428cc","title":"Purple-S","weight_unit":"g","inventory_quantity":999,"sku":"XHRvAwMRY-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6163916cc6a24e2fe730b0d0e407a9ca.jpeg","path":"6163916cc6a24e2fe730b0d0e407a9ca.jpeg","width":1899,"height":1899,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"300","compare_at_price":"35","price":"19.89","retail_price":"35","available":true,"url":"\/products\/personalized-angel-print-sports-shorts?variant=5f5ca032-7f09-47ba-88e3-cdf9341af840","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":43,"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 : XHRvAwMRY-Purple-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"5f5ca032-7f09-47ba-88e3-cdf9341af840","product_id":"ff1304f4-1d17-4d8d-b45b-a4b2100428cc","title":"Purple-S","weight_unit":"g","inventory_quantity":999,"sku":"XHRvAwMRY-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6163916cc6a24e2fe730b0d0e407a9ca.jpeg","path":"6163916cc6a24e2fe730b0d0e407a9ca.jpeg","width":1899,"height":1899,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"300","compare_at_price":"35","price":"19.89","retail_price":"35","available":true,"url":"\/products\/personalized-angel-print-sports-shorts?variant=5f5ca032-7f09-47ba-88e3-cdf9341af840","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}