Personalized Baby Green Busy Board, Custom Montessori Board With Name BB4 BB02
${function() {
const variantData = data.variant || {"id":"cff1e00e-78c3-4110-b2fd-59fa02913baf","product_id":"fbaddcc7-1d90-4f29-ad0b-6bf96cdda547","title":"Rectangle Small Board-6 letters max-Green","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Rectangle Small Board","option2":"6 letters max","option3":"Green","note":"","image":{"src":"\/\/img.staticdj.com\/a5f1be6fbada4ae06dce29b9483fd99a.png","path":"a5f1be6fbada4ae06dce29b9483fd99a.png","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"36.99","retail_price":"59.99","available":true,"url":"\/products\/personalized-baby-green-busy-board-custom-montessori-board-with-name-bb4-bb02?variant=cff1e00e-78c3-4110-b2fd-59fa02913baf","available_quantity":999999999,"options":[{"name":"Size","value":"Rectangle Small Board"},{"name":"Number of Letters","value":"6 letters max"},{"name":"Color","value":"Green"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Size:
Rectangle Small Board
${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}
`
}()}
Number Of Letters:
6 letters max
${function(){
const optName = "Number of Letters";
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}
`
}()}
Color:
Green
${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
$36.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":"cff1e00e-78c3-4110-b2fd-59fa02913baf","product_id":"fbaddcc7-1d90-4f29-ad0b-6bf96cdda547","title":"Rectangle Small Board-6 letters max-Green","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Rectangle Small Board","option2":"6 letters max","option3":"Green","note":"","image":{"src":"\/\/img.staticdj.com\/a5f1be6fbada4ae06dce29b9483fd99a.png","path":"a5f1be6fbada4ae06dce29b9483fd99a.png","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"36.99","retail_price":"59.99","available":true,"url":"\/products\/personalized-baby-green-busy-board-custom-montessori-board-with-name-bb4-bb02?variant=cff1e00e-78c3-4110-b2fd-59fa02913baf","available_quantity":999999999,"options":[{"name":"Size","value":"Rectangle Small Board"},{"name":"Number of Letters","value":"6 letters max"},{"name":"Color","value":"Green"}],"off_ratio":38,"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.