${function() {
const variantData = data.variant || {"id":"35c11e3f-b9db-4506-9026-000a7fcb3599","product_id":"2f9f83bd-6eac-42e8-961a-9aa98bba81c7","title":"Black And Silver-40","weight_unit":"kg","inventory_quantity":1000,"sku":"K503131511399120896","barcode":"","position":7,"option1":"Black And Silver","option2":"40","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d079318240e33be2a69523febd60b17.jpeg","path":"3d079318240e33be2a69523febd60b17.jpeg","width":530,"height":650,"alt":"","aspect_ratio":0.8153846153846154},"wholesale_price":[{"price":21.79,"min_quantity":1}],"weight":"0","compare_at_price":"21.79","price":"21.79","retail_price":"21.79","available":true,"url":"\/products\/fashion-color-block-hollow-skull-outdoor-platform-slippers7e8e74c7-16ab-4214-934c-ba6bbe293f6b?variant=35c11e3f-b9db-4506-9026-000a7fcb3599","available_quantity":999999999,"options":[{"name":"Color","value":"Black And Silver"},{"name":"Size","value":"40"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.