Black Light Brown Wig Straight Hair Wig
${function() {
const variantData = data.variant || {"id":"c7678394-7391-400d-95fd-1542c7e173bc","product_id":"7fa0cb44-adbf-4285-9d94-a0a400388e26","title":"BLACK LIGHT BROWN-18 INCH-100%(Thick)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW-L-CP-BGLB","barcode":"","position":2,"option1":"BLACK LIGHT BROWN","option2":"18 INCH","option3":"100%(Thick)","note":"","image":{"src":"\/\/img.staticdj.com\/8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","path":"8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","width":960,"height":960,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"31.99","retail_price":"79.99","available":true,"url":"\/products\/black-light-brown-wig-straight-hair-wig?variant=c7678394-7391-400d-95fd-1542c7e173bc","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK LIGHT BROWN"},{"name":"LENGTH","value":"18 INCH"},{"name":"DENSITY","value":"100%(Thick)"}],"off_ratio":60,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
BLACK LIGHT BROWN
${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}
`
}()}
Length:
18 INCH
${function(){
const optName = "LENGTH";
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%(Thick)
${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":"c7678394-7391-400d-95fd-1542c7e173bc","product_id":"7fa0cb44-adbf-4285-9d94-a0a400388e26","title":"BLACK LIGHT BROWN-18 INCH-100%(Thick)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW-L-CP-BGLB","barcode":"","position":2,"option1":"BLACK LIGHT BROWN","option2":"18 INCH","option3":"100%(Thick)","note":"","image":{"src":"\/\/img.staticdj.com\/8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","path":"8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","width":960,"height":960,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"31.99","retail_price":"79.99","available":true,"url":"\/products\/black-light-brown-wig-straight-hair-wig?variant=c7678394-7391-400d-95fd-1542c7e173bc","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK LIGHT BROWN"},{"name":"LENGTH","value":"18 INCH"},{"name":"DENSITY","value":"100%(Thick)"}],"off_ratio":60,"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":"c7678394-7391-400d-95fd-1542c7e173bc","product_id":"7fa0cb44-adbf-4285-9d94-a0a400388e26","title":"BLACK LIGHT BROWN-18 INCH-100%(Thick)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW-L-CP-BGLB","barcode":"","position":2,"option1":"BLACK LIGHT BROWN","option2":"18 INCH","option3":"100%(Thick)","note":"","image":{"src":"\/\/img.staticdj.com\/8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","path":"8f7379cb0b4aecaf8ccd17eb5af95c35.jpeg","width":960,"height":960,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"31.99","retail_price":"79.99","available":true,"url":"\/products\/black-light-brown-wig-straight-hair-wig?variant=c7678394-7391-400d-95fd-1542c7e173bc","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK LIGHT BROWN"},{"name":"LENGTH","value":"18 INCH"},{"name":"DENSITY","value":"100%(Thick)"}],"off_ratio":60,"flashsale_info":[],"sales":0};
return `
`
}()}