${function() {
const variantData = data.variant || {"id":"573b3671-9408-4130-ba95-643b07937f15","product_id":"0b647e70-c401-4d27-8ad7-30b5eb768fca","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053819723","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da20ad9040b69f1c65169b211e9b243f.jpeg","path":"da20ad9040b69f1c65169b211e9b243f.jpeg","width":667,"height":890,"alt":"Gray Casual Long Sleeve Cotton-Blend Patchwork Sweatshirt","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0","compare_at_price":"21","price":"21","retail_price":"21","available":true,"url":"\/products\/gray-casual-long-sleeve-cotton-blend-patchwork-sweatshirt-8288?variant=573b3671-9408-4130-ba95-643b07937f15","available_quantity":1000,"options":[{"name":"Color","value":"Gray"},{"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":"573b3671-9408-4130-ba95-643b07937f15","product_id":"0b647e70-c401-4d27-8ad7-30b5eb768fca","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053819723","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da20ad9040b69f1c65169b211e9b243f.jpeg","path":"da20ad9040b69f1c65169b211e9b243f.jpeg","width":667,"height":890,"alt":"Gray Casual Long Sleeve Cotton-Blend Patchwork Sweatshirt","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0","compare_at_price":"21","price":"21","retail_price":"21","available":true,"url":"\/products\/gray-casual-long-sleeve-cotton-blend-patchwork-sweatshirt-8288?variant=573b3671-9408-4130-ba95-643b07937f15","available_quantity":1000,"options":[{"name":"Color","value":"Gray"},{"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}
`
}()}