${function() {
const variantData = data.variant || {"id":"4591f400-ed46-4d54-95d8-12406fbc6a3a","product_id":"a7c9b630-0973-485d-86f9-da18a9d594a1","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Khaki-S-A00430681","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c89871212fef8842487e1471d59a978.jpeg","path":"2c89871212fef8842487e1471d59a978.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.8,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"37.8","retail_price":"0","available":true,"url":"\/products\/colorful-vertical-stripes-print-polo-shirt-and-shorts?variant=4591f400-ed46-4d54-95d8-12406fbc6a3a","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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":"4591f400-ed46-4d54-95d8-12406fbc6a3a","product_id":"a7c9b630-0973-485d-86f9-da18a9d594a1","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Khaki-S-A00430681","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c89871212fef8842487e1471d59a978.jpeg","path":"2c89871212fef8842487e1471d59a978.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.8,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"37.8","retail_price":"0","available":true,"url":"\/products\/colorful-vertical-stripes-print-polo-shirt-and-shorts?variant=4591f400-ed46-4d54-95d8-12406fbc6a3a","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}