${function() {
const variantData = data.variant || {"id":"1f96e3c3-a2a7-44a4-8a5c-00e9862ecdeb","product_id":"7289f365-d76e-4f92-975d-55cdf4f06a8f","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHUc6nXfq-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/561811d5b1a4ba6a3d1f5946ac6bbffb.jpeg","path":"561811d5b1a4ba6a3d1f5946ac6bbffb.jpeg","width":1436,"height":1436,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"44.89","retail_price":"55","available":true,"url":"\/products\/fashionable-personalized-hand-painted-pattern-stacked-pants?variant=1f96e3c3-a2a7-44a4-8a5c-00e9862ecdeb","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":3};
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 : XHUc6nXfq-Blue-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"1f96e3c3-a2a7-44a4-8a5c-00e9862ecdeb","product_id":"7289f365-d76e-4f92-975d-55cdf4f06a8f","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHUc6nXfq-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/561811d5b1a4ba6a3d1f5946ac6bbffb.jpeg","path":"561811d5b1a4ba6a3d1f5946ac6bbffb.jpeg","width":1436,"height":1436,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"400","compare_at_price":"55","price":"44.89","retail_price":"55","available":true,"url":"\/products\/fashionable-personalized-hand-painted-pattern-stacked-pants?variant=1f96e3c3-a2a7-44a4-8a5c-00e9862ecdeb","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}