Broken Crayons Still Color Print Casual Knit Pullover Sweater
${function() {
const variantData = data.variant || {"id":"56047b2e-dd2b-4ba9-af95-a9b704d8b1d5","product_id":"1a0a3107-388e-4bbd-b256-762f94097a72","title":"MULTICOLOR-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"MULTICOLOR","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/broken-crayons-still-color-print-casual-knit-pullover-sweater-1?variant=56047b2e-dd2b-4ba9-af95-a9b704d8b1d5","available_quantity":999999999,"options":[{"name":"COLOR","value":"MULTICOLOR"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}
${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}
`
}()}
Product was out of stock.
Product is unavailable.