${function() {
const variantData = data.variant || {"id":"c6ab8eed-5265-436c-ab29-8e03335f6129","product_id":"b1b3522d-8b00-403c-a1c3-e18daa4fb659","title":"JY14771-S","weight_unit":"kg","inventory_quantity":540,"sku":"","barcode":"","position":11,"option1":"JY14771","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39abe6565988f049450ab25a9db3c819.webp","path":"39abe6565988f049450ab25a9db3c819.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/polka-dot-rockabilly-dress-retro-vintage-50s-60s-pinup-office-dresses-buttons-short-sleeve-women-summer-dress-2020-a-line-party?variant=c6ab8eed-5265-436c-ab29-8e03335f6129","available_quantity":999999999,"options":[{"name":"color","value":"JY14771"},{"name":"size","value":"S"}],"off_ratio":0,"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":"c6ab8eed-5265-436c-ab29-8e03335f6129","product_id":"b1b3522d-8b00-403c-a1c3-e18daa4fb659","title":"JY14771-S","weight_unit":"kg","inventory_quantity":540,"sku":"","barcode":"","position":11,"option1":"JY14771","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39abe6565988f049450ab25a9db3c819.webp","path":"39abe6565988f049450ab25a9db3c819.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/polka-dot-rockabilly-dress-retro-vintage-50s-60s-pinup-office-dresses-buttons-short-sleeve-women-summer-dress-2020-a-line-party?variant=c6ab8eed-5265-436c-ab29-8e03335f6129","available_quantity":999999999,"options":[{"name":"color","value":"JY14771"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}