Pet Plush Hat & Knitted Christmas Scarf
${function() {
const variantData = data.variant || {"id":"09418fe3-e541-4f20-9e41-e46ad132884f","product_id":"a33b33e8-a238-49ee-a1bf-fc970ea5fcb0","title":"M-green tree","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"M","option2":"green tree","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b226fc6f0ab7185549b403627fb25903.png","path":"b226fc6f0ab7185549b403627fb25903.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.91,"min_quantity":1}],"weight":"0","compare_at_price":"13.5","price":"10.91","retail_price":"13.5","available":true,"url":"\/products\/2pcs-cartoon-warm-plush-hat-pet-knitted-christmas-scarf-cat-and-dog-knitted-comfortable-scarf-set-pet-dress-up-supplies?variant=09418fe3-e541-4f20-9e41-e46ad132884f","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"green tree"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
M
${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}
`
}()}
Color:
green tree
${function(){
const optName = "Color";
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}
`
}()}
Processing time: 1-3 business days.
To initiate a return, please contact:petspacecraft@outlook.com
Add to cart
$10.91
${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":"09418fe3-e541-4f20-9e41-e46ad132884f","product_id":"a33b33e8-a238-49ee-a1bf-fc970ea5fcb0","title":"M-green tree","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"M","option2":"green tree","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b226fc6f0ab7185549b403627fb25903.png","path":"b226fc6f0ab7185549b403627fb25903.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.91,"min_quantity":1}],"weight":"0","compare_at_price":"13.5","price":"10.91","retail_price":"13.5","available":true,"url":"\/products\/2pcs-cartoon-warm-plush-hat-pet-knitted-christmas-scarf-cat-and-dog-knitted-comfortable-scarf-set-pet-dress-up-supplies?variant=09418fe3-e541-4f20-9e41-e46ad132884f","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"green tree"}],"off_ratio":19,"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":"09418fe3-e541-4f20-9e41-e46ad132884f","product_id":"a33b33e8-a238-49ee-a1bf-fc970ea5fcb0","title":"M-green tree","weight_unit":"kg","inventory_quantity":500,"sku":"","barcode":"","position":1,"option1":"M","option2":"green tree","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b226fc6f0ab7185549b403627fb25903.png","path":"b226fc6f0ab7185549b403627fb25903.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.91,"min_quantity":1}],"weight":"0","compare_at_price":"13.5","price":"10.91","retail_price":"13.5","available":true,"url":"\/products\/2pcs-cartoon-warm-plush-hat-pet-knitted-christmas-scarf-cat-and-dog-knitted-comfortable-scarf-set-pet-dress-up-supplies?variant=09418fe3-e541-4f20-9e41-e46ad132884f","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"green tree"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}