${function() {
const variantData = data.variant || {"id":"4cfc6774-2046-46e4-ac92-68a7a0c8da44","product_id":"3ba15161-04b0-490c-867f-840afc081019","title":"One Size-Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"One Size","option2":"Brown","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f0f7b58623b601b2c95e093106fc400.jpeg","path":"7f0f7b58623b601b2c95e093106fc400.jpeg","width":2000,"height":3000,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":45.53,"min_quantity":1}],"weight":"0","compare_at_price":"94.25","price":"45.53","retail_price":"94.25","available":true,"url":"\/products\/chiffon-photography-dress-maternity-off-shoulder-maxi-dresses-pregnant-women-evening-dresses-photoshoots-button-summer-gowns?variant=4cfc6774-2046-46e4-ac92-68a7a0c8da44","available_quantity":999999999,"options":[{"name":"Maternity Size","value":"One Size"},{"name":"color","value":"Brown"}],"off_ratio":52,"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.
${function(){
const variantData = data.variant || {"id":"4cfc6774-2046-46e4-ac92-68a7a0c8da44","product_id":"3ba15161-04b0-490c-867f-840afc081019","title":"One Size-Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"One Size","option2":"Brown","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f0f7b58623b601b2c95e093106fc400.jpeg","path":"7f0f7b58623b601b2c95e093106fc400.jpeg","width":2000,"height":3000,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":45.53,"min_quantity":1}],"weight":"0","compare_at_price":"94.25","price":"45.53","retail_price":"94.25","available":true,"url":"\/products\/chiffon-photography-dress-maternity-off-shoulder-maxi-dresses-pregnant-women-evening-dresses-photoshoots-button-summer-gowns?variant=4cfc6774-2046-46e4-ac92-68a7a0c8da44","available_quantity":999999999,"options":[{"name":"Maternity Size","value":"One Size"},{"name":"color","value":"Brown"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}