${function() {
const variantData = data.variant || {"id":"dc7fbd51-96ed-41f2-b9d1-90db8e56b7a2","product_id":"966f8afd-9a83-437d-a9cc-5f9c17003b44","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHer4Q1u5-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/068b6e8d988e32f450f5f8c80d886710.jpeg","path":"068b6e8d988e32f450f5f8c80d886710.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"400","compare_at_price":"38","price":"30.89","retail_price":"38","available":true,"url":"\/products\/fashion-green-casual-vintage-print-trousers?variant=dc7fbd51-96ed-41f2-b9d1-90db8e56b7a2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHer4Q1u5-Green-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"dc7fbd51-96ed-41f2-b9d1-90db8e56b7a2","product_id":"966f8afd-9a83-437d-a9cc-5f9c17003b44","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHer4Q1u5-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/068b6e8d988e32f450f5f8c80d886710.jpeg","path":"068b6e8d988e32f450f5f8c80d886710.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"400","compare_at_price":"38","price":"30.89","retail_price":"38","available":true,"url":"\/products\/fashion-green-casual-vintage-print-trousers?variant=dc7fbd51-96ed-41f2-b9d1-90db8e56b7a2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}