${function() {
const variantData = data.variant || {"id":"cb2ab5d8-3a65-4286-b7d7-b91115e33e93","product_id":"c1dcb5f3-e2ba-42c8-ac11-9d4cfc7959e6","title":"black-One Size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0872-black-One Size","barcode":"","position":1,"option1":"black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e576fb484cde264feaffc52fc3968742.jpeg","path":"e576fb484cde264feaffc52fc3968742.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"67.99","price":"52.99","retail_price":"67.99","available":true,"url":"\/products\/womens-fashion-knitted-high-waist-wide-leg-pants-two-piece-set?variant=cb2ab5d8-3a65-4286-b7d7-b91115e33e93","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"One Size"}],"off_ratio":22,"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.
Sku : UR0872-black-One Size
Weight : 0.3kg
${function(){
const variantData = data.variant || {"id":"cb2ab5d8-3a65-4286-b7d7-b91115e33e93","product_id":"c1dcb5f3-e2ba-42c8-ac11-9d4cfc7959e6","title":"black-One Size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0872-black-One Size","barcode":"","position":1,"option1":"black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e576fb484cde264feaffc52fc3968742.jpeg","path":"e576fb484cde264feaffc52fc3968742.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"67.99","price":"52.99","retail_price":"67.99","available":true,"url":"\/products\/womens-fashion-knitted-high-waist-wide-leg-pants-two-piece-set?variant=cb2ab5d8-3a65-4286-b7d7-b91115e33e93","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"One Size"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}