Personalized Family Heart Wooden Puzzle Frame Gift for Mom
${function() {
const variantData = data.variant || {"id":"2e5973a3-f6e7-489a-b9c4-d4289ae7a1cd","product_id":"c1dd678b-482a-4c09-a725-099321602277","title":"5.5*6.25 INCH","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"5.5*6.25 INCH","option2":"","option3":"","note":"5.5 x 6.25 \u82f1\u5bf8","image":null,"wholesale_price":[{"price":65.9,"min_quantity":1}],"weight":"0.12","compare_at_price":"0","price":"65.9","retail_price":"0","available":true,"url":"\/products\/personalized-family-heart-wooden-puzzle-frame-gift-for-mom?variant=2e5973a3-f6e7-489a-b9c4-d4289ae7a1cd","available_quantity":999999999,"options":[{"name":"Size","value":"5.5*6.25 INCH"}],"off_ratio":0,"flashsale_info":[],"sales":214};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 80;
const custom_text = "Buy {amount} more to enjoy FREE\nShipping.Or buy any 2 products and get FREE shipping.";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Size:
5.5*6.25 INCH
${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}
`
}()}
Add to cart
$65.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":"2e5973a3-f6e7-489a-b9c4-d4289ae7a1cd","product_id":"c1dd678b-482a-4c09-a725-099321602277","title":"5.5*6.25 INCH","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"5.5*6.25 INCH","option2":"","option3":"","note":"5.5 x 6.25 \u82f1\u5bf8","image":null,"wholesale_price":[{"price":65.9,"min_quantity":1}],"weight":"0.12","compare_at_price":"0","price":"65.9","retail_price":"0","available":true,"url":"\/products\/personalized-family-heart-wooden-puzzle-frame-gift-for-mom?variant=2e5973a3-f6e7-489a-b9c4-d4289ae7a1cd","available_quantity":999999999,"options":[{"name":"Size","value":"5.5*6.25 INCH"}],"off_ratio":0,"flashsale_info":[],"sales":214};
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 on orders over $80
30 days no reason to return