${function() {
const variantData = data.variant || {"id":"97ebeb7e-d4e3-42ad-a90e-20120730473d","product_id":"b1240a66-c145-434e-a5dd-079b54edb83f","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkK4KgDV-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8cdc65df334baff919e1c5552ae5601.jpeg","path":"f8cdc65df334baff919e1c5552ae5601.jpeg","width":1345,"height":1345,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"300","compare_at_price":"38","price":"27.89","retail_price":"38","available":true,"url":"\/products\/vintage-print-street-fashion-flared-trousers?variant=97ebeb7e-d4e3-42ad-a90e-20120730473d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":8};
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 : XHkK4KgDV-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"97ebeb7e-d4e3-42ad-a90e-20120730473d","product_id":"b1240a66-c145-434e-a5dd-079b54edb83f","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkK4KgDV-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8cdc65df334baff919e1c5552ae5601.jpeg","path":"f8cdc65df334baff919e1c5552ae5601.jpeg","width":1345,"height":1345,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.89,"min_quantity":1}],"weight":"300","compare_at_price":"38","price":"27.89","retail_price":"38","available":true,"url":"\/products\/vintage-print-street-fashion-flared-trousers?variant=97ebeb7e-d4e3-42ad-a90e-20120730473d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}