2PCS Pretty Floral Printed Short Sleeve Baby Romper
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"4f9b9345-3d7a-4374-ace4-65007f82e653","product_id":"4e93661a-6e39-45f2-814d-e148c5362109","title":"Green-0-3 Months","weight_unit":"kg","inventory_quantity":1000,"sku":"DP24092413-70","barcode":"","position":1,"option1":"Green","option2":"0-3 Months","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/544da80e5ad80507e8b1a31233191814.jpeg","path":"544da80e5ad80507e8b1a31233191814.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"25.99","retail_price":"28.99","available":true,"url":"\/products\/2pcs-pretty-floral-printed-short-sleeve-baby-romper-2?variant=4f9b9345-3d7a-4374-ace4-65007f82e653","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"0-3 Months"}],"off_ratio":10,"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 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.