${function() {
const variantData = data.variant || {"id":"475d38ec-a3b0-41c2-bf34-fe0635f577b1","product_id":"7fe88973-947d-456c-bb9f-25c8e51b3c84","title":"Baby blue-M (88-110 lbs)","weight_unit":"kg","inventory_quantity":0,"sku":"SLRH6ZF9-0005","barcode":"","position":1,"option1":"Baby blue","option2":"M (88-110 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65c12b56a3538837aaa775e868ebc1b5.webp","path":"65c12b56a3538837aaa775e868ebc1b5.webp","width":750,"height":850,"alt":"","aspect_ratio":0.8823529411764706},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"0","compare_at_price":"53.78","price":"26.89","retail_price":"53.78","available":true,"url":"\/products\/\ud83d\udd25-last-day-49-off\ud83d\udd25-ultra-slim-tummy-control-hip-lift-panties-hdge?variant=475d38ec-a3b0-41c2-bf34-fe0635f577b1","available_quantity":999999999,"options":[{"name":"Color","value":"Baby blue"},{"name":"Size","value":"M (88-110 lbs)"}],"off_ratio":50,"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}
`
}()}
${function() {
const minInventory = parseInt('20');
const maxInventory = parseInt('100');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.