${function() {
const variantData = data.variant || {"id":"bc25bf3f-26d2-483a-856e-a7ca2e7e61b5","product_id":"195d7e9a-7b87-4e08-86e0-e74c1db1fb8b","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?variant=bc25bf3f-26d2-483a-856e-a7ca2e7e61b5","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.