3D Expression Change Face Building Blocks Toy
${function() {
const variantData = data.variant || {"id":"d0a5eafd-7176-4d3b-8432-5fb7c9a4fc74","product_id":"d9647b71-ced4-458f-942f-9fe0770edb0b","title":"Iron box large size (13.5*9.5*4.5cm)-1 Set","weight_unit":"kg","inventory_quantity":1000,"sku":"FF1907678-\u05f29+FF1907678-\u05f212","barcode":"","position":1,"option1":"Iron box large size (13.5*9.5*4.5cm)","option2":"1 Set","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebef07c79f5654acea55bc90ad249e3a.jpeg","path":"ebef07c79f5654acea55bc90ad249e3a.jpeg","width":565,"height":512,"alt":"","aspect_ratio":1.103515625},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.98","retail_price":"0","available":true,"url":"\/products\/3d-expression-change-face-building-blocks-toy-parent-child-interactive-game?variant=d0a5eafd-7176-4d3b-8432-5fb7c9a4fc74","available_quantity":999999999,"options":[{"name":"\u2728Style\u2728","value":"Iron box large size (13.5*9.5*4.5cm)"},{"name":"\ud83d\udd25Buy more save more\ud83d\udd25","value":"1 Set"}],"off_ratio":0,"flashsale_info":[],"sales":861};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
✨Style✨:
Iron box large size (13.5*9.5*4.5cm)
${function(){
const optName = "✨Style✨";
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}
`
}()}
🔥Buy More Save More🔥:
1 Set
${function(){
const optName = "🔥Buy more save more🔥";
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}
`
}()}
Supports return and exchange within 30 days
Add to cart
$22.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":"d0a5eafd-7176-4d3b-8432-5fb7c9a4fc74","product_id":"d9647b71-ced4-458f-942f-9fe0770edb0b","title":"Iron box large size (13.5*9.5*4.5cm)-1 Set","weight_unit":"kg","inventory_quantity":1000,"sku":"FF1907678-\u05f29+FF1907678-\u05f212","barcode":"","position":1,"option1":"Iron box large size (13.5*9.5*4.5cm)","option2":"1 Set","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebef07c79f5654acea55bc90ad249e3a.jpeg","path":"ebef07c79f5654acea55bc90ad249e3a.jpeg","width":565,"height":512,"alt":"","aspect_ratio":1.103515625},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.98","retail_price":"0","available":true,"url":"\/products\/3d-expression-change-face-building-blocks-toy-parent-child-interactive-game?variant=d0a5eafd-7176-4d3b-8432-5fb7c9a4fc74","available_quantity":999999999,"options":[{"name":"\u2728Style\u2728","value":"Iron box large size (13.5*9.5*4.5cm)"},{"name":"\ud83d\udd25Buy more save more\ud83d\udd25","value":"1 Set"}],"off_ratio":0,"flashsale_info":[],"sales":861};
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.