Fruit Basket Kitchen Pantry Organizers and Storage - Wooden Top Table, Stackable Metal Wire Basket Stand Cart For Fruit Vegetable Snacks Jars Bins Containers Organization, Black
${function() {
const variantData = data.variant || {"id":"926236ed-7c45-4e80-a4c6-354bd76c2f4e","product_id":"f1a1338c-aa1d-4ab0-9600-e7a66e742b18","title":"Wood Top","weight_unit":"kg","inventory_quantity":1000,"sku":"B09DKP2X85","barcode":"","position":1,"option1":"Wood Top","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abe4a6ea0980b4e817f02df8d0d06062.jpeg","path":"abe4a6ea0980b4e817f02df8d0d06062.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"47.99","retail_price":"54.99","available":true,"url":"\/products\/fruit-basket-kitchen-pantry-organizers-and-storage-wooden-top-table-stackable-metal-wire-basket-stand-cart-for-fruit-vegetable-snacks-jars-bins-containers-organization-black-b09dkp2x85?variant=926236ed-7c45-4e80-a4c6-354bd76c2f4e","available_quantity":1000,"options":[{"name":"Color","value":"Wood Top"}],"off_ratio":13,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Wood Top
${function(){
const optName = "Color";
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
$47.99
${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":"926236ed-7c45-4e80-a4c6-354bd76c2f4e","product_id":"f1a1338c-aa1d-4ab0-9600-e7a66e742b18","title":"Wood Top","weight_unit":"kg","inventory_quantity":1000,"sku":"B09DKP2X85","barcode":"","position":1,"option1":"Wood Top","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abe4a6ea0980b4e817f02df8d0d06062.jpeg","path":"abe4a6ea0980b4e817f02df8d0d06062.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"47.99","retail_price":"54.99","available":true,"url":"\/products\/fruit-basket-kitchen-pantry-organizers-and-storage-wooden-top-table-stackable-metal-wire-basket-stand-cart-for-fruit-vegetable-snacks-jars-bins-containers-organization-black-b09dkp2x85?variant=926236ed-7c45-4e80-a4c6-354bd76c2f4e","available_quantity":1000,"options":[{"name":"Color","value":"Wood Top"}],"off_ratio":13,"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":"926236ed-7c45-4e80-a4c6-354bd76c2f4e","product_id":"f1a1338c-aa1d-4ab0-9600-e7a66e742b18","title":"Wood Top","weight_unit":"kg","inventory_quantity":1000,"sku":"B09DKP2X85","barcode":"","position":1,"option1":"Wood Top","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abe4a6ea0980b4e817f02df8d0d06062.jpeg","path":"abe4a6ea0980b4e817f02df8d0d06062.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"47.99","retail_price":"54.99","available":true,"url":"\/products\/fruit-basket-kitchen-pantry-organizers-and-storage-wooden-top-table-stackable-metal-wire-basket-stand-cart-for-fruit-vegetable-snacks-jars-bins-containers-organization-black-b09dkp2x85?variant=926236ed-7c45-4e80-a4c6-354bd76c2f4e","available_quantity":1000,"options":[{"name":"Color","value":"Wood Top"}],"off_ratio":13,"flashsale_info":[],"sales":0};
return `
`
}()}