SKU : 20774322
Inventory : 37
${function(){
const variantData = data.variant || {"id":"0d3e5b44-70c4-480c-80dd-9a077f674006","product_id":"7a752f84-e2bf-4468-a5db-af917e40ff8f","title":"DeepSapphireBlue-2 Years","weight_unit":"kg","inventory_quantity":37,"sku":"20774322","barcode":"","position":2,"option1":"DeepSapphireBlue","option2":"2 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f03cb79b37e5a39e199432ecbd876f5f.jpeg","path":"f03cb79b37e5a39e199432ecbd876f5f.jpeg","width":2400,"height":2400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.19,"min_quantity":1}],"weight":"0.2","compare_at_price":"6.99","price":"4.19","retail_price":"6.99","available":true,"url":"\/products\/580115-toddler-girl-sweet-unicorn-animal-pattern-leggings-o7h0?variant=0d3e5b44-70c4-480c-80dd-9a077f674006","available_quantity":37,"options":[{"name":"COLOR","value":"DeepSapphireBlue"},{"name":"SIZE","value":"2 Years"}],"off_ratio":40,"flashsale_info":[],"sales":5};
return `
SKU : ${variantData && variantData.sku}
Inventory : ${variantData && variantData.available_quantity}
`
}()}
${function() {
const variantData = data.variant || {"id":"0d3e5b44-70c4-480c-80dd-9a077f674006","product_id":"7a752f84-e2bf-4468-a5db-af917e40ff8f","title":"DeepSapphireBlue-2 Years","weight_unit":"kg","inventory_quantity":37,"sku":"20774322","barcode":"","position":2,"option1":"DeepSapphireBlue","option2":"2 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f03cb79b37e5a39e199432ecbd876f5f.jpeg","path":"f03cb79b37e5a39e199432ecbd876f5f.jpeg","width":2400,"height":2400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.19,"min_quantity":1}],"weight":"0.2","compare_at_price":"6.99","price":"4.19","retail_price":"6.99","available":true,"url":"\/products\/580115-toddler-girl-sweet-unicorn-animal-pattern-leggings-o7h0?variant=0d3e5b44-70c4-480c-80dd-9a077f674006","available_quantity":37,"options":[{"name":"COLOR","value":"DeepSapphireBlue"},{"name":"SIZE","value":"2 Years"}],"off_ratio":40,"flashsale_info":[],"sales":5};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: DeepSapphireBlue
${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}
`
}()}
Size
: 2 Years
${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
$4.19
${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":"0d3e5b44-70c4-480c-80dd-9a077f674006","product_id":"7a752f84-e2bf-4468-a5db-af917e40ff8f","title":"DeepSapphireBlue-2 Years","weight_unit":"kg","inventory_quantity":37,"sku":"20774322","barcode":"","position":2,"option1":"DeepSapphireBlue","option2":"2 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f03cb79b37e5a39e199432ecbd876f5f.jpeg","path":"f03cb79b37e5a39e199432ecbd876f5f.jpeg","width":2400,"height":2400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.19,"min_quantity":1}],"weight":"0.2","compare_at_price":"6.99","price":"4.19","retail_price":"6.99","available":true,"url":"\/products\/580115-toddler-girl-sweet-unicorn-animal-pattern-leggings-o7h0?variant=0d3e5b44-70c4-480c-80dd-9a077f674006","available_quantity":37,"options":[{"name":"COLOR","value":"DeepSapphireBlue"},{"name":"SIZE","value":"2 Years"}],"off_ratio":40,"flashsale_info":[],"sales":5};
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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function() {
const variantData = data.variant || {"id":"0d3e5b44-70c4-480c-80dd-9a077f674006","product_id":"7a752f84-e2bf-4468-a5db-af917e40ff8f","title":"DeepSapphireBlue-2 Years","weight_unit":"kg","inventory_quantity":37,"sku":"20774322","barcode":"","position":2,"option1":"DeepSapphireBlue","option2":"2 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f03cb79b37e5a39e199432ecbd876f5f.jpeg","path":"f03cb79b37e5a39e199432ecbd876f5f.jpeg","width":2400,"height":2400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.19,"min_quantity":1}],"weight":"0.2","compare_at_price":"6.99","price":"4.19","retail_price":"6.99","available":true,"url":"\/products\/580115-toddler-girl-sweet-unicorn-animal-pattern-leggings-o7h0?variant=0d3e5b44-70c4-480c-80dd-9a077f674006","available_quantity":37,"options":[{"name":"COLOR","value":"DeepSapphireBlue"},{"name":"SIZE","value":"2 Years"}],"off_ratio":40,"flashsale_info":[],"sales":5};
const value = variantData.available_quantity > 0 ? variantData.available_quantity : 0;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + value + ' ');
return `
`;
}()}
Care Instruction: Machine washable, low temperature tumble dry. * Includes: 1 Leggings * Material: 93% polyester, 7% spandex * Adorable unicorn-printed pants * Soft and comfortable
Total lead time = processing time + shipping time
Normal processing time : 1-5 business days
1. Standard shipping: 7-15 business days
2. Express shipping: 5-7 business days
* Mation about deliveries, please visit our Shipping Policy page.