${function() {
const variantData = data.variant || {"id":"f2f02cb4-7463-4cb9-bc5f-98e10762116a","product_id":"c80ed933-a138-446b-b122-d4cd54f19ca4","title":"Green-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX08957_G_S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b44baa8df00af6594b38265703534e3c.jpeg","path":"b44baa8df00af6594b38265703534e3c.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"393","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/velvet-teal-and-rust-leopard-dress?variant=f2f02cb4-7463-4cb9-bc5f-98e10762116a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
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 : MWZX08957_G_S
Weight : 393g
${function(){
const variantData = data.variant || {"id":"f2f02cb4-7463-4cb9-bc5f-98e10762116a","product_id":"c80ed933-a138-446b-b122-d4cd54f19ca4","title":"Green-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX08957_G_S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b44baa8df00af6594b38265703534e3c.jpeg","path":"b44baa8df00af6594b38265703534e3c.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"393","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/velvet-teal-and-rust-leopard-dress?variant=f2f02cb4-7463-4cb9-bc5f-98e10762116a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}