${function() {
const variantData = data.variant || {"id":"dbef7c31-c64a-475b-bae2-9f8959e4ff27","product_id":"25e8f684-91d2-4829-9fee-e43eb8b7aac9","title":"Lake_Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHIjKGScT-Lake_Blue-S","barcode":"","position":6,"option1":"Lake_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e7c56ee24094d35a87aa812413df4a9.jpeg","path":"2e7c56ee24094d35a87aa812413df4a9.jpeg","width":1944,"height":1944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"35.89","retail_price":"47","available":true,"url":"\/products\/fashionable-contrast-printed-casual-shirt?variant=dbef7c31-c64a-475b-bae2-9f8959e4ff27","available_quantity":999999999,"options":[{"name":"Color","value":"Lake_Blue"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":12};
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 : XHIjKGScT-Lake_Blue-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"dbef7c31-c64a-475b-bae2-9f8959e4ff27","product_id":"25e8f684-91d2-4829-9fee-e43eb8b7aac9","title":"Lake_Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHIjKGScT-Lake_Blue-S","barcode":"","position":6,"option1":"Lake_Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e7c56ee24094d35a87aa812413df4a9.jpeg","path":"2e7c56ee24094d35a87aa812413df4a9.jpeg","width":1944,"height":1944,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"35.89","retail_price":"47","available":true,"url":"\/products\/fashionable-contrast-printed-casual-shirt?variant=dbef7c31-c64a-475b-bae2-9f8959e4ff27","available_quantity":999999999,"options":[{"name":"Color","value":"Lake_Blue"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":12};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}