2PCS Speckled Pattern Printed Baby Romper
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"99b25f37-ae51-44e7-ae4e-fea0550e5354","product_id":"d6997270-5476-4579-b850-36b7b861cf65","title":"Beige-0-3 Months","weight_unit":"kg","inventory_quantity":998,"sku":"DP24031303-70","barcode":"","position":1,"option1":"Beige","option2":"0-3 Months","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c13cbee35dd1c250283b1ec68bfca7b3.jpeg","path":"c13cbee35dd1c250283b1ec68bfca7b3.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/2pcs-speckled-pattern-printed-baby-romper?variant=99b25f37-ae51-44e7-ae4e-fea0550e5354","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"0-3 Months"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.