${function() {
const variantData = data.variant || {"id":"488c1545-6af9-4849-a002-c9cf4362c312","product_id":"fb005e97-2504-4930-9d4a-e4a73d274f99","title":"Dark_Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHbRrkKPX-Dark_Green-S","barcode":"","position":1,"option1":"Dark_Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed1da5d494af626eeac84e1b5e74e9e5.jpeg","path":"ed1da5d494af626eeac84e1b5e74e9e5.jpeg","width":1056,"height":1056,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/elevated-casual-print-pocket-flared-trousers?variant=488c1545-6af9-4849-a002-c9cf4362c312","available_quantity":999999999,"options":[{"name":"Color","value":"Dark_Green"},{"name":"Size","value":"S"}],"off_ratio":23,"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 : XHbRrkKPX-Dark_Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"488c1545-6af9-4849-a002-c9cf4362c312","product_id":"fb005e97-2504-4930-9d4a-e4a73d274f99","title":"Dark_Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHbRrkKPX-Dark_Green-S","barcode":"","position":1,"option1":"Dark_Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed1da5d494af626eeac84e1b5e74e9e5.jpeg","path":"ed1da5d494af626eeac84e1b5e74e9e5.jpeg","width":1056,"height":1056,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/elevated-casual-print-pocket-flared-trousers?variant=488c1545-6af9-4849-a002-c9cf4362c312","available_quantity":999999999,"options":[{"name":"Color","value":"Dark_Green"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}