${function() {
const variantData = data.variant || {"id":"b67c7b87-7ba4-4842-a83b-65b4f46f5cc4","product_id":"4ef7ff4d-339c-4026-a973-9b1f3e24edc7","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHvMEUPAu-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ba8819fa75190473a88519f600d6e51.jpeg","path":"1ba8819fa75190473a88519f600d6e51.jpeg","width":1796,"height":1796,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/fashionable-personalized-printed-casual-flared-pants?variant=b67c7b87-7ba4-4842-a83b-65b4f46f5cc4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":11};
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 : XHvMEUPAu-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"b67c7b87-7ba4-4842-a83b-65b4f46f5cc4","product_id":"4ef7ff4d-339c-4026-a973-9b1f3e24edc7","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHvMEUPAu-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ba8819fa75190473a88519f600d6e51.jpeg","path":"1ba8819fa75190473a88519f600d6e51.jpeg","width":1796,"height":1796,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"26.89","retail_price":"40","available":true,"url":"\/products\/fashionable-personalized-printed-casual-flared-pants?variant=b67c7b87-7ba4-4842-a83b-65b4f46f5cc4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":11};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}