Bewitching Figure, Collectible Tabletop Witch Figurine
${function() {
const variantData = data.variant || {"id":"d3e0ea1c-dbc3-4c90-a156-567ce422d795","product_id":"2a98637e-ab1a-4146-87a1-53ce043e5ab0","title":"Esther","weight_unit":"kg","inventory_quantity":998,"sku":"sku2090496379731","barcode":"","position":1,"option1":"Esther","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e16dd0272ef81c21b7e18155ac7f1fce.jpeg","path":"e16dd0272ef81c21b7e18155ac7f1fce.jpeg","width":628,"height":628,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.98","retail_price":"59.99","available":true,"url":"\/products\/bewitching-figure-collectible-tabletop-witch-figurine65bd003b-3926-4b09-9dbf-5273d3756628?variant=d3e0ea1c-dbc3-4c90-a156-567ce422d795","available_quantity":999999999,"options":[{"name":"character","value":"Esther"}],"off_ratio":50,"flashsale_info":[],"sales":8};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Character:
Esther
${function(){
const optName = "character";
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}
`
}()}
people are viewing this right now
Add to cart
$29.98
${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":"d3e0ea1c-dbc3-4c90-a156-567ce422d795","product_id":"2a98637e-ab1a-4146-87a1-53ce043e5ab0","title":"Esther","weight_unit":"kg","inventory_quantity":998,"sku":"sku2090496379731","barcode":"","position":1,"option1":"Esther","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e16dd0272ef81c21b7e18155ac7f1fce.jpeg","path":"e16dd0272ef81c21b7e18155ac7f1fce.jpeg","width":628,"height":628,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.98","retail_price":"59.99","available":true,"url":"\/products\/bewitching-figure-collectible-tabletop-witch-figurine65bd003b-3926-4b09-9dbf-5273d3756628?variant=d3e0ea1c-dbc3-4c90-a156-567ce422d795","available_quantity":999999999,"options":[{"name":"character","value":"Esther"}],"off_ratio":50,"flashsale_info":[],"sales":8};
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":"d3e0ea1c-dbc3-4c90-a156-567ce422d795","product_id":"2a98637e-ab1a-4146-87a1-53ce043e5ab0","title":"Esther","weight_unit":"kg","inventory_quantity":998,"sku":"sku2090496379731","barcode":"","position":1,"option1":"Esther","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e16dd0272ef81c21b7e18155ac7f1fce.jpeg","path":"e16dd0272ef81c21b7e18155ac7f1fce.jpeg","width":628,"height":628,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.98","retail_price":"59.99","available":true,"url":"\/products\/bewitching-figure-collectible-tabletop-witch-figurine65bd003b-3926-4b09-9dbf-5273d3756628?variant=d3e0ea1c-dbc3-4c90-a156-567ce422d795","available_quantity":999999999,"options":[{"name":"character","value":"Esther"}],"off_ratio":50,"flashsale_info":[],"sales":8};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}