${function() {
const variantData = data.variant || {"id":"0f628be7-1bcf-4f0f-ae85-247c1adefe3d","product_id":"8f9cf3fa-2388-4738-bdfc-b84c413de525","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4995871","barcode":"4995871","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1de7e2d31c3175454cba5ff9878484f1.webp","path":"1de7e2d31c3175454cba5ff9878484f1.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.28","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/ins7e7911baae65-avp8?variant=0f628be7-1bcf-4f0f-ae85-247c1adefe3d","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"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.
Sku : 4995871
Weight : 0.28kg
Barcode : 4995871
${function(){
const variantData = data.variant || {"id":"0f628be7-1bcf-4f0f-ae85-247c1adefe3d","product_id":"8f9cf3fa-2388-4738-bdfc-b84c413de525","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4995871","barcode":"4995871","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1de7e2d31c3175454cba5ff9878484f1.webp","path":"1de7e2d31c3175454cba5ff9878484f1.webp","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.28","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/ins7e7911baae65-avp8?variant=0f628be7-1bcf-4f0f-ae85-247c1adefe3d","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"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}
`
}()}