Grandma's Little Peanut Elephant Printed Baby Romper
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"8df557c1-c89f-4822-bf35-f0efcc4db30a","product_id":"afeb2eb3-e936-4d2a-a919-33eceef92c9d","title":"0-3 Months","weight_unit":"kg","inventory_quantity":999,"sku":"DP21043006-70","barcode":"","position":1,"option1":"0-3 Months","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/683febe14fde6e8b50855cbf5cd220fd.jpeg","path":"683febe14fde6e8b50855cbf5cd220fd.jpeg","width":711,"height":711,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/grandmas-little-peanut-elephant-printed-baby-romper?variant=8df557c1-c89f-4822-bf35-f0efcc4db30a","available_quantity":999999999,"options":[{"name":"Size","value":"0-3 Months"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('30');
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 `
`;
}()}
Product was out of stock.
Product is unavailable.