4.5-inch Rice Bowl Ceramic Unglazed Anti-scalding Bowl European Simple Household Soup Bowl High-legged
${function() {
const variantData = data.variant || {"id":"bcaedb2a-8abd-4db8-bab6-2cf60d925534","product_id":"52b9144b-fbc1-41ae-ae58-0ca5a282fb61","title":"4.5inch","weight_unit":"kg","inventory_quantity":1264,"sku":"","barcode":"","position":1,"option1":"4.5inch","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c29e348cd900cb326aa912e137e74c7.jpeg","path":"5c29e348cd900cb326aa912e137e74c7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.03,"min_quantity":1}],"weight":"0.3","compare_at_price":"1.03","price":"1.03","retail_price":"1.03","available":true,"url":"\/products\/4-5-inch-rice-bowl-ceramic-unglazed-anti-scalding-bowl-european-simple-household-soup-bowl-high-legged?variant=bcaedb2a-8abd-4db8-bab6-2cf60d925534","available_quantity":999999999,"options":[{"name":"Option","value":"4.5inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Option:
4.5inch
${function(){
const optName = "Option";
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
$1.03
${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":"bcaedb2a-8abd-4db8-bab6-2cf60d925534","product_id":"52b9144b-fbc1-41ae-ae58-0ca5a282fb61","title":"4.5inch","weight_unit":"kg","inventory_quantity":1264,"sku":"","barcode":"","position":1,"option1":"4.5inch","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c29e348cd900cb326aa912e137e74c7.jpeg","path":"5c29e348cd900cb326aa912e137e74c7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.03,"min_quantity":1}],"weight":"0.3","compare_at_price":"1.03","price":"1.03","retail_price":"1.03","available":true,"url":"\/products\/4-5-inch-rice-bowl-ceramic-unglazed-anti-scalding-bowl-european-simple-household-soup-bowl-high-legged?variant=bcaedb2a-8abd-4db8-bab6-2cf60d925534","available_quantity":999999999,"options":[{"name":"Option","value":"4.5inch"}],"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":"bcaedb2a-8abd-4db8-bab6-2cf60d925534","product_id":"52b9144b-fbc1-41ae-ae58-0ca5a282fb61","title":"4.5inch","weight_unit":"kg","inventory_quantity":1264,"sku":"","barcode":"","position":1,"option1":"4.5inch","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c29e348cd900cb326aa912e137e74c7.jpeg","path":"5c29e348cd900cb326aa912e137e74c7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.03,"min_quantity":1}],"weight":"0.3","compare_at_price":"1.03","price":"1.03","retail_price":"1.03","available":true,"url":"\/products\/4-5-inch-rice-bowl-ceramic-unglazed-anti-scalding-bowl-european-simple-household-soup-bowl-high-legged?variant=bcaedb2a-8abd-4db8-bab6-2cf60d925534","available_quantity":999999999,"options":[{"name":"Option","value":"4.5inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}