Ultimate Sack 6000 (6 ft.) Bean Bag Chair with Footstool (Bundle)
${function() {
const variantData = data.variant || {"id":"e21a9e74-c8a2-43ef-9f1f-e987bbb8f78b","product_id":"c15eb2f7-0954-4377-ab01-5a5a068f533c","title":"Suede-Black Suede","weight_unit":"kg","inventory_quantity":1000,"sku":"CHA-6000-BLACK-SUEDE-FS","barcode":"","position":2,"option1":"Suede","option2":"Black Suede","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6832e0253730bbfce46ce4e67430e722.png","path":"6832e0253730bbfce46ce4e67430e722.png","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":274.99,"min_quantity":1}],"weight":"0","compare_at_price":"392.85","price":"274.99","retail_price":"392.85","available":true,"url":"\/products\/6000bundle?variant=e21a9e74-c8a2-43ef-9f1f-e987bbb8f78b","available_quantity":999999999,"options":[{"name":"Fabric","value":"Suede"},{"name":"Color","value":"Black Suede"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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.
${function(){
const variantData = data.variant || {"id":"e21a9e74-c8a2-43ef-9f1f-e987bbb8f78b","product_id":"c15eb2f7-0954-4377-ab01-5a5a068f533c","title":"Suede-Black Suede","weight_unit":"kg","inventory_quantity":1000,"sku":"CHA-6000-BLACK-SUEDE-FS","barcode":"","position":2,"option1":"Suede","option2":"Black Suede","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6832e0253730bbfce46ce4e67430e722.png","path":"6832e0253730bbfce46ce4e67430e722.png","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":274.99,"min_quantity":1}],"weight":"0","compare_at_price":"392.85","price":"274.99","retail_price":"392.85","available":true,"url":"\/products\/6000bundle?variant=e21a9e74-c8a2-43ef-9f1f-e987bbb8f78b","available_quantity":999999999,"options":[{"name":"Fabric","value":"Suede"},{"name":"Color","value":"Black Suede"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}