${function() {
const variantData = data.variant || {"id":"879c5a2e-5455-4149-a5bd-1bce4ac25e86","product_id":"be3cbce7-27f5-4bb2-8cba-f73e987be40f","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHQLMnD8G-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a66b14d531eb4784c9f1c317381aa09.jpeg","path":"0a66b14d531eb4784c9f1c317381aa09.jpeg","width":2000,"height":2001,"alt":"","aspect_ratio":0.9995002498750625},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"700","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/love-black-jeans-high-waist-design-straight-leg-trousers?variant=879c5a2e-5455-4149-a5bd-1bce4ac25e86","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":7};
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 : XHQLMnD8G-Black-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"879c5a2e-5455-4149-a5bd-1bce4ac25e86","product_id":"be3cbce7-27f5-4bb2-8cba-f73e987be40f","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHQLMnD8G-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a66b14d531eb4784c9f1c317381aa09.jpeg","path":"0a66b14d531eb4784c9f1c317381aa09.jpeg","width":2000,"height":2001,"alt":"","aspect_ratio":0.9995002498750625},"wholesale_price":[{"price":35.89,"min_quantity":1}],"weight":"700","compare_at_price":"45","price":"35.89","retail_price":"45","available":true,"url":"\/products\/love-black-jeans-high-waist-design-straight-leg-trousers?variant=879c5a2e-5455-4149-a5bd-1bce4ac25e86","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}