Hot Sale Glueless New Short Wig Bob Curly Hair
${function() {
const variantData = data.variant || {"id":"4400db8a-85c7-499c-8805-6cb060e4847e","product_id":"12f8a16a-f49d-42d8-b5a4-a9dcf1862c62","title":"Brown-150%","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2082491247739","barcode":"","position":3,"option1":"Brown","option2":"150%","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7a74e0f459d218afd80a7fcce8e341f.png","path":"e7a74e0f459d218afd80a7fcce8e341f.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"63.99","price":"31.99","retail_price":"63.99","available":true,"url":"\/products\/black-6-inch-short-wig-bob-curly-hair-2-4ope?variant=4400db8a-85c7-499c-8805-6cb060e4847e","available_quantity":999999999,"options":[{"name":"COLOR","value":"Brown"},{"name":"DENSITY","value":"150%"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
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}
`
}()}
Density:
150%
${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":"4400db8a-85c7-499c-8805-6cb060e4847e","product_id":"12f8a16a-f49d-42d8-b5a4-a9dcf1862c62","title":"Brown-150%","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2082491247739","barcode":"","position":3,"option1":"Brown","option2":"150%","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7a74e0f459d218afd80a7fcce8e341f.png","path":"e7a74e0f459d218afd80a7fcce8e341f.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"63.99","price":"31.99","retail_price":"63.99","available":true,"url":"\/products\/black-6-inch-short-wig-bob-curly-hair-2-4ope?variant=4400db8a-85c7-499c-8805-6cb060e4847e","available_quantity":999999999,"options":[{"name":"COLOR","value":"Brown"},{"name":"DENSITY","value":"150%"}],"off_ratio":50,"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":"4400db8a-85c7-499c-8805-6cb060e4847e","product_id":"12f8a16a-f49d-42d8-b5a4-a9dcf1862c62","title":"Brown-150%","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2082491247739","barcode":"","position":3,"option1":"Brown","option2":"150%","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7a74e0f459d218afd80a7fcce8e341f.png","path":"e7a74e0f459d218afd80a7fcce8e341f.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"63.99","price":"31.99","retail_price":"63.99","available":true,"url":"\/products\/black-6-inch-short-wig-bob-curly-hair-2-4ope?variant=4400db8a-85c7-499c-8805-6cb060e4847e","available_quantity":999999999,"options":[{"name":"COLOR","value":"Brown"},{"name":"DENSITY","value":"150%"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}