Ingvn - Women's Fleece Pants Tights Leggings Full Length Print High Elasticity Medium Waist Fashion Tights Halloween Picture color 21 Picture color 34 S M
${function() {
const variantData = data.variant || {"id":"2a7ee8d9-d0c0-4292-9493-025741c9028e","product_id":"5847252f-9551-4b25-ae4a-232902e52160","title":"Picture color 37-S","weight_unit":"g","inventory_quantity":666,"sku":"208378817175-Picture color 37-S","barcode":"","position":1,"option1":"Picture color 37","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e5c87409dbbe682726029833d12eaae.jpeg","path":"0e5c87409dbbe682726029833d12eaae.jpeg","width":750,"height":1000,"alt":"Ingvn - Women\u2019s Fleece Pants Tights Leggings Full Length Print High Elasticity Medium Waist","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.47","price":"21.99","retail_price":"24.47","available":true,"url":"\/products\/womens-fleece-pants-tights-leggings-full-length-print-high-elasticity-medium-waist-fashion-tights-halloween-picture-color-21-picture-color-34-s-m?variant=2a7ee8d9-d0c0-4292-9493-025741c9028e","available_quantity":999999999,"options":[{"name":"Color","value":"Picture color 37"},{"name":"Size","value":"S"}],"off_ratio":10,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const postageFreeAmount = 10;
const custom_text = "Buy {amount} more to enjoy 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 `
`;
}()}
Color:
Picture color 37
${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:
S
${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
$21.99
${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":"2a7ee8d9-d0c0-4292-9493-025741c9028e","product_id":"5847252f-9551-4b25-ae4a-232902e52160","title":"Picture color 37-S","weight_unit":"g","inventory_quantity":666,"sku":"208378817175-Picture color 37-S","barcode":"","position":1,"option1":"Picture color 37","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e5c87409dbbe682726029833d12eaae.jpeg","path":"0e5c87409dbbe682726029833d12eaae.jpeg","width":750,"height":1000,"alt":"Ingvn - Women\u2019s Fleece Pants Tights Leggings Full Length Print High Elasticity Medium Waist","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.47","price":"21.99","retail_price":"24.47","available":true,"url":"\/products\/womens-fleece-pants-tights-leggings-full-length-print-high-elasticity-medium-waist-fashion-tights-halloween-picture-color-21-picture-color-34-s-m?variant=2a7ee8d9-d0c0-4292-9493-025741c9028e","available_quantity":999999999,"options":[{"name":"Color","value":"Picture color 37"},{"name":"Size","value":"S"}],"off_ratio":10,"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.
Sku : 208378817175-Picture color 37-S
${function(){
const variantData = data.variant || {"id":"2a7ee8d9-d0c0-4292-9493-025741c9028e","product_id":"5847252f-9551-4b25-ae4a-232902e52160","title":"Picture color 37-S","weight_unit":"g","inventory_quantity":666,"sku":"208378817175-Picture color 37-S","barcode":"","position":1,"option1":"Picture color 37","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e5c87409dbbe682726029833d12eaae.jpeg","path":"0e5c87409dbbe682726029833d12eaae.jpeg","width":750,"height":1000,"alt":"Ingvn - Women\u2019s Fleece Pants Tights Leggings Full Length Print High Elasticity Medium Waist","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.47","price":"21.99","retail_price":"24.47","available":true,"url":"\/products\/womens-fleece-pants-tights-leggings-full-length-print-high-elasticity-medium-waist-fashion-tights-halloween-picture-color-21-picture-color-34-s-m?variant=2a7ee8d9-d0c0-4292-9493-025741c9028e","available_quantity":999999999,"options":[{"name":"Color","value":"Picture color 37"},{"name":"Size","value":"S"}],"off_ratio":10,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}