weather forecast bottle ☁
people are viewing this right now
${function() {
const minInventory = parseInt('2');
const maxInventory = parseInt('365');
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 variantData = data.variant || {"id":"42362b6e-93ec-4aae-bbdc-a6857666dc6c","product_id":"0427bc5c-440f-4d06-b7dd-697af2e0efee","title":"15.5*15.5 * 12cm (Sphere 10cm)","weight_unit":"kg","inventory_quantity":199,"sku":"","barcode":"","position":1,"option1":"15.5*15.5 * 12cm (Sphere 10cm)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40a41d977a4f2b91e3974f177514a34b.jpeg","path":"40a41d977a4f2b91e3974f177514a34b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":179.9,"min_quantity":1}],"weight":"0","compare_at_price":"273.2","price":"179.9","retail_price":"273.2","available":true,"url":"\/products\/weather-forecast-bottle?variant=42362b6e-93ec-4aae-bbdc-a6857666dc6c","available_quantity":999999999,"options":[{"name":"White","value":"15.5*15.5 * 12cm (Sphere 10cm)"}],"off_ratio":34,"flashsale_info":[],"sales":2203};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
White:
15.5*15.5 * 12cm (Sphere 10cm)
${function(){
const optName = "White";
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}
`
}()}
${function(){
const variantData = data.variant || {"id":"42362b6e-93ec-4aae-bbdc-a6857666dc6c","product_id":"0427bc5c-440f-4d06-b7dd-697af2e0efee","title":"15.5*15.5 * 12cm (Sphere 10cm)","weight_unit":"kg","inventory_quantity":199,"sku":"","barcode":"","position":1,"option1":"15.5*15.5 * 12cm (Sphere 10cm)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40a41d977a4f2b91e3974f177514a34b.jpeg","path":"40a41d977a4f2b91e3974f177514a34b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":179.9,"min_quantity":1}],"weight":"0","compare_at_price":"273.2","price":"179.9","retail_price":"273.2","available":true,"url":"\/products\/weather-forecast-bottle?variant=42362b6e-93ec-4aae-bbdc-a6857666dc6c","available_quantity":999999999,"options":[{"name":"White","value":"15.5*15.5 * 12cm (Sphere 10cm)"}],"off_ratio":34,"flashsale_info":[],"sales":2203};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + ' ')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + ' ');
return `
${tipText}
`;
}()}
Add to cart
$179.90
${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":"42362b6e-93ec-4aae-bbdc-a6857666dc6c","product_id":"0427bc5c-440f-4d06-b7dd-697af2e0efee","title":"15.5*15.5 * 12cm (Sphere 10cm)","weight_unit":"kg","inventory_quantity":199,"sku":"","barcode":"","position":1,"option1":"15.5*15.5 * 12cm (Sphere 10cm)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40a41d977a4f2b91e3974f177514a34b.jpeg","path":"40a41d977a4f2b91e3974f177514a34b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":179.9,"min_quantity":1}],"weight":"0","compare_at_price":"273.2","price":"179.9","retail_price":"273.2","available":true,"url":"\/products\/weather-forecast-bottle?variant=42362b6e-93ec-4aae-bbdc-a6857666dc6c","available_quantity":999999999,"options":[{"name":"White","value":"15.5*15.5 * 12cm (Sphere 10cm)"}],"off_ratio":34,"flashsale_info":[],"sales":2203};
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.
Free shipping within the Middle East
COD free shipping cash on delivery
Confidential delivery to maximize customer privacy