50-piece Food storage Containers Set with Lids, Plastic Leak-Proof BPA-Free Containers for Kitchen Organization, Meal Prep, Lunch Containers (Includes Labels & Pen)
${function() {
const variantData = data.variant || {"id":"f646a4c2-a2c8-4a74-a066-9190edca36da","product_id":"e9890120-4814-40c2-9a13-aae9dbb7750c","title":"17 Pack","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838179713","barcode":"","position":1,"option1":"17 Pack","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a007061f8b8aeaac00274213b347170f.jpeg","path":"a007061f8b8aeaac00274213b347170f.jpeg","width":1475,"height":1500,"alt":"","aspect_ratio":0.9833333333333333},"wholesale_price":[{"price":19.44,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.44","retail_price":"0","available":true,"url":"\/products\/50-piece-food-storage-containers-set-with-lids-plastic-leak-proof-bpa-free-containers-for-kitchen-organization-meal-prep-lunch-containers-includes-labels-pen?variant=f646a4c2-a2c8-4a74-a066-9190edca36da","available_quantity":1000,"options":[{"name":"Size","value":"17 Pack"}],"off_ratio":0,"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 `
`;
}()}
Size:
17 Pack
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$19.44
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"f646a4c2-a2c8-4a74-a066-9190edca36da","product_id":"e9890120-4814-40c2-9a13-aae9dbb7750c","title":"17 Pack","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838179713","barcode":"","position":1,"option1":"17 Pack","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a007061f8b8aeaac00274213b347170f.jpeg","path":"a007061f8b8aeaac00274213b347170f.jpeg","width":1475,"height":1500,"alt":"","aspect_ratio":0.9833333333333333},"wholesale_price":[{"price":19.44,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.44","retail_price":"0","available":true,"url":"\/products\/50-piece-food-storage-containers-set-with-lids-plastic-leak-proof-bpa-free-containers-for-kitchen-organization-meal-prep-lunch-containers-includes-labels-pen?variant=f646a4c2-a2c8-4a74-a066-9190edca36da","available_quantity":1000,"options":[{"name":"Size","value":"17 Pack"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f646a4c2-a2c8-4a74-a066-9190edca36da","product_id":"e9890120-4814-40c2-9a13-aae9dbb7750c","title":"17 Pack","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838179713","barcode":"","position":1,"option1":"17 Pack","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a007061f8b8aeaac00274213b347170f.jpeg","path":"a007061f8b8aeaac00274213b347170f.jpeg","width":1475,"height":1500,"alt":"","aspect_ratio":0.9833333333333333},"wholesale_price":[{"price":19.44,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.44","retail_price":"0","available":true,"url":"\/products\/50-piece-food-storage-containers-set-with-lids-plastic-leak-proof-bpa-free-containers-for-kitchen-organization-meal-prep-lunch-containers-includes-labels-pen?variant=f646a4c2-a2c8-4a74-a066-9190edca36da","available_quantity":1000,"options":[{"name":"Size","value":"17 Pack"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}