Black Long Hair Natural Hairline Straight Wig with Baby Hair Wig
${function() {
const variantData = data.variant || {"id":"1f6ced55-48fe-431d-965a-ebd27876c8f8","product_id":"d1482090-12c2-4bdf-9d3e-4e036c47f4ea","title":"Black-22INCH-100%NORMAL","weight_unit":"kg","inventory_quantity":989,"sku":"SW-L-CP-BK","barcode":"","position":1,"option1":"Black","option2":"22INCH","option3":"100%NORMAL","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"31.99","retail_price":"49.99","available":true,"url":"\/products\/360-lace-fronal-wigs-human-hair-100-unprocessed-brazilian-virgin-hair-straight-lace-front-wig-for-black-women-pre-plucked-natural-hairline-with-baby-hair-can-do-ponytail-and-buns-fqf3?variant=1f6ced55-48fe-431d-965a-ebd27876c8f8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"22INCH"},{"name":"Density","value":"100%NORMAL"}],"off_ratio":36,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Black
${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:
22INCH
${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}
`
}()}
Density:
100%NORMAL
${function(){
const optName = "Density";
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
$31.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":"1f6ced55-48fe-431d-965a-ebd27876c8f8","product_id":"d1482090-12c2-4bdf-9d3e-4e036c47f4ea","title":"Black-22INCH-100%NORMAL","weight_unit":"kg","inventory_quantity":989,"sku":"SW-L-CP-BK","barcode":"","position":1,"option1":"Black","option2":"22INCH","option3":"100%NORMAL","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"31.99","retail_price":"49.99","available":true,"url":"\/products\/360-lace-fronal-wigs-human-hair-100-unprocessed-brazilian-virgin-hair-straight-lace-front-wig-for-black-women-pre-plucked-natural-hairline-with-baby-hair-can-do-ponytail-and-buns-fqf3?variant=1f6ced55-48fe-431d-965a-ebd27876c8f8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"22INCH"},{"name":"Density","value":"100%NORMAL"}],"off_ratio":36,"flashsale_info":[],"sales":1};
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":"1f6ced55-48fe-431d-965a-ebd27876c8f8","product_id":"d1482090-12c2-4bdf-9d3e-4e036c47f4ea","title":"Black-22INCH-100%NORMAL","weight_unit":"kg","inventory_quantity":989,"sku":"SW-L-CP-BK","barcode":"","position":1,"option1":"Black","option2":"22INCH","option3":"100%NORMAL","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"31.99","retail_price":"49.99","available":true,"url":"\/products\/360-lace-fronal-wigs-human-hair-100-unprocessed-brazilian-virgin-hair-straight-lace-front-wig-for-black-women-pre-plucked-natural-hairline-with-baby-hair-can-do-ponytail-and-buns-fqf3?variant=1f6ced55-48fe-431d-965a-ebd27876c8f8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"22INCH"},{"name":"Density","value":"100%NORMAL"}],"off_ratio":36,"flashsale_info":[],"sales":1};
return `
`
}()}