2PCS Lovely Floral Printed Baby Sleeping Bag
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"3046eea9-46c0-49bf-ac1e-bb43d5d3c9e4","product_id":"164951a6-2617-4fa1-a45e-3557ac4b5bb5","title":"White-0-3 Months","weight_unit":"kg","inventory_quantity":996,"sku":"SD2010302-0-3Months-Pink","barcode":"","position":1,"option1":"White","option2":"0-3 Months","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5797892a7eb801ff51ca9a7482c0fb6e.jpeg","path":"5797892a7eb801ff51ca9a7482c0fb6e.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/2pcs-lovely-floral-printed-baby-sleeping-bag?variant=3046eea9-46c0-49bf-ac1e-bb43d5d3c9e4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"0-3 Months"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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 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.