${function() {
const variantData = data.variant || {"id":"7af2a8f7-7212-49d3-9c6a-eff44a2f77fc","product_id":"a36d6e25-713f-4bbd-bbf0-345195d491e8","title":"S-BLACK","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693018040345","barcode":"","position":1,"option1":"S","option2":"BLACK","option3":"","note":"","image":null,"wholesale_price":[{"price":25.7,"min_quantity":1}],"weight":"0","compare_at_price":"25.7","price":"25.7","retail_price":"25.7","available":true,"url":"\/products\/plus-size-women-fashion-loose-casual-floral-print-round-neck-short-sleeves-abstract-print-fake-two-piece-summer-dress-3204?variant=7af2a8f7-7212-49d3-9c6a-eff44a2f77fc","available_quantity":1000,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"BLACK"}],"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":"7af2a8f7-7212-49d3-9c6a-eff44a2f77fc","product_id":"a36d6e25-713f-4bbd-bbf0-345195d491e8","title":"S-BLACK","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693018040345","barcode":"","position":1,"option1":"S","option2":"BLACK","option3":"","note":"","image":null,"wholesale_price":[{"price":25.7,"min_quantity":1}],"weight":"0","compare_at_price":"25.7","price":"25.7","retail_price":"25.7","available":true,"url":"\/products\/plus-size-women-fashion-loose-casual-floral-print-round-neck-short-sleeves-abstract-print-fake-two-piece-summer-dress-3204?variant=7af2a8f7-7212-49d3-9c6a-eff44a2f77fc","available_quantity":1000,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"BLACK"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}