Christmas Santa and Snowflake Patterned Family Matching Pajamas Sets
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"ab2a7a7c-0318-435f-89e5-39ad36b21f04","product_id":"e9f0946c-aa54-4320-8fe8-30f71342c721","title":"BABY:0-3 Months","weight_unit":"kg","inventory_quantity":998,"sku":"GFC0256-1","barcode":"","position":1,"option1":"BABY:0-3 Months","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.99","retail_price":"0","available":true,"url":"\/products\/christmas-santa-and-snowflake-patterned-family-matching-pajamas-sets?variant=ab2a7a7c-0318-435f-89e5-39ad36b21f04","available_quantity":999999999,"options":[{"name":"Size","value":"BABY: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.