${function() {
const variantData = data.variant || {"id":"7634968d-3890-45dd-9b28-96fa2f061f7a","product_id":"adaae8c9-24d6-4d61-8b0a-e5252cf2b254","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017442528","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d30c4c2c4050db363d4ccbf83d391d7.jpeg","path":"5d30c4c2c4050db363d4ccbf83d391d7.jpeg","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":19.1,"min_quantity":1}],"weight":"0","compare_at_price":"19.1","price":"19.1","retail_price":"19.1","available":true,"url":"\/products\/solid-color-crew-neck-summer-linen-midi-dress-2729?variant=7634968d-3890-45dd-9b28-96fa2f061f7a","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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":"7634968d-3890-45dd-9b28-96fa2f061f7a","product_id":"adaae8c9-24d6-4d61-8b0a-e5252cf2b254","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017442528","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d30c4c2c4050db363d4ccbf83d391d7.jpeg","path":"5d30c4c2c4050db363d4ccbf83d391d7.jpeg","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":19.1,"min_quantity":1}],"weight":"0","compare_at_price":"19.1","price":"19.1","retail_price":"19.1","available":true,"url":"\/products\/solid-color-crew-neck-summer-linen-midi-dress-2729?variant=7634968d-3890-45dd-9b28-96fa2f061f7a","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"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}
`
}()}