Oshkosh Kid Paperbag Belted Button-Front Skirt
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"dcd5e452-d880-4bcb-a0fb-7dc1baa057dd","product_id":"57bcf7fe-3f81-4a71-af39-cc51640fa099","title":"4-Blue","weight_unit":"kg","inventory_quantity":999,"sku":"3R251310","barcode":"","position":1,"option1":"4","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":3.5,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"3.5","retail_price":"35","available":true,"url":"\/products\/oshkosh-kid-paperbag-belted-button-front-skirt?variant=dcd5e452-d880-4bcb-a0fb-7dc1baa057dd","available_quantity":999,"options":[{"name":"Size","value":"4"},{"name":"Color","value":"Blue"}],"off_ratio":"90","flashsale_info":{"variant_id":"dcd5e452-d880-4bcb-a0fb-7dc1baa057dd","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"3.5","compare_at_price":"","discount_price":"3.5","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"90","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":2};
const saveType = "percentage";
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.