New Wave Golden Fluffy Hot Wigs
${function() {
const variantData = data.variant || {"id":"c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","product_id":"83deec60-4548-4c0c-a541-7267e53b1fb8","title":"100%(NORMAL)-Golden Blonde","weight_unit":"kg","inventory_quantity":1000,"sku":"3425-9618-100%-Mixed Blonde-N","barcode":"","position":1,"option1":"100%(NORMAL)","option2":"Golden Blonde","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e345d7f94ce980756936f534ef8ef5d5.jpeg","path":"e345d7f94ce980756936f534ef8ef5d5.jpeg","width":599,"height":720,"alt":"","aspect_ratio":0.8319444444444445},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"39.99","retail_price":"99.99","available":true,"url":"\/products\/summer-new-wave-wavy-golden-fluffy-wig-1zn5?variant=c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","available_quantity":999999999,"options":[{"name":"DENSITY","value":"100%(NORMAL)"},{"name":"Color","value":"Golden Blonde"}],"off_ratio":60,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
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}
`
}()}
Color:
Golden Blonde
${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}
`
}()}
Add to cart
$39.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":"c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","product_id":"83deec60-4548-4c0c-a541-7267e53b1fb8","title":"100%(NORMAL)-Golden Blonde","weight_unit":"kg","inventory_quantity":1000,"sku":"3425-9618-100%-Mixed Blonde-N","barcode":"","position":1,"option1":"100%(NORMAL)","option2":"Golden Blonde","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e345d7f94ce980756936f534ef8ef5d5.jpeg","path":"e345d7f94ce980756936f534ef8ef5d5.jpeg","width":599,"height":720,"alt":"","aspect_ratio":0.8319444444444445},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"39.99","retail_price":"99.99","available":true,"url":"\/products\/summer-new-wave-wavy-golden-fluffy-wig-1zn5?variant=c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","available_quantity":999999999,"options":[{"name":"DENSITY","value":"100%(NORMAL)"},{"name":"Color","value":"Golden Blonde"}],"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":"c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","product_id":"83deec60-4548-4c0c-a541-7267e53b1fb8","title":"100%(NORMAL)-Golden Blonde","weight_unit":"kg","inventory_quantity":1000,"sku":"3425-9618-100%-Mixed Blonde-N","barcode":"","position":1,"option1":"100%(NORMAL)","option2":"Golden Blonde","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e345d7f94ce980756936f534ef8ef5d5.jpeg","path":"e345d7f94ce980756936f534ef8ef5d5.jpeg","width":599,"height":720,"alt":"","aspect_ratio":0.8319444444444445},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"39.99","retail_price":"99.99","available":true,"url":"\/products\/summer-new-wave-wavy-golden-fluffy-wig-1zn5?variant=c6a8fe5f-3d6b-43a0-b98f-5978e28701d4","available_quantity":999999999,"options":[{"name":"DENSITY","value":"100%(NORMAL)"},{"name":"Color","value":"Golden Blonde"}],"off_ratio":60,"flashsale_info":[],"sales":0};
return `
`
}()}