${function() {
const variantData = data.variant || {"id":"653bbe99-ec14-40c5-bab4-9fba2d8aaf43","product_id":"1393153f-2f56-4eb4-9a38-d9db7465ac2e","title":"Ginger yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055364733","barcode":"","position":1,"option1":"Ginger yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aaa2d1af59db106f9823963ecd90324a.jpeg","path":"aaa2d1af59db106f9823963ecd90324a.jpeg","width":1200,"height":1600,"alt":"Women Plain Casual Pants","aspect_ratio":0.75},"wholesale_price":[{"price":32.14,"min_quantity":1}],"weight":"0","compare_at_price":"32.14","price":"32.14","retail_price":"32.14","available":true,"url":"\/products\/women-plain-casual-pants-6290?variant=653bbe99-ec14-40c5-bab4-9fba2d8aaf43","available_quantity":1000,"options":[{"name":"Color","value":"Ginger yellow"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"653bbe99-ec14-40c5-bab4-9fba2d8aaf43","product_id":"1393153f-2f56-4eb4-9a38-d9db7465ac2e","title":"Ginger yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055364733","barcode":"","position":1,"option1":"Ginger yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aaa2d1af59db106f9823963ecd90324a.jpeg","path":"aaa2d1af59db106f9823963ecd90324a.jpeg","width":1200,"height":1600,"alt":"Women Plain Casual Pants","aspect_ratio":0.75},"wholesale_price":[{"price":32.14,"min_quantity":1}],"weight":"0","compare_at_price":"32.14","price":"32.14","retail_price":"32.14","available":true,"url":"\/products\/women-plain-casual-pants-6290?variant=653bbe99-ec14-40c5-bab4-9fba2d8aaf43","available_quantity":1000,"options":[{"name":"Color","value":"Ginger yellow"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}