2PCS Lovely Elephant Printed Short Sleeve Baby Set
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"461147b5-5bc4-47c8-9451-d4d35f78961b","product_id":"036a5fff-90de-4db7-943e-c51de3c21ce9","title":"Grey-0-3 Months","weight_unit":"kg","inventory_quantity":998,"sku":"CT23022316-70","barcode":"","position":1,"option1":"Grey","option2":"0-3 Months","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/468b635642bb5bc322013cd70a82aa97.jpeg","path":"468b635642bb5bc322013cd70a82aa97.jpeg","width":740,"height":740,"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-lovely-elephant-printed-short-sleeve-baby-set?variant=461147b5-5bc4-47c8-9451-d4d35f78961b","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.