🔥New Year Sale🔥New Fashion short Curly Wig
${function() {
const variantData = data.variant || {"id":"d924e5f1-e993-4c27-a4f1-37efa2e2fca6","product_id":"2f3bcc6e-5f5e-4ff6-8c28-fbed0d40c92c","title":"Black Gradient Brown-100% (Thick)","weight_unit":"kg","inventory_quantity":985,"sku":"Alien-A31-BGLB","barcode":"","position":1,"option1":"Black Gradient Brown","option2":"100% (Thick)","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"32.99","retail_price":"42.99","available":true,"url":"\/products\/short-wavy-curly-heat-friendly-pixed-cut-wig-s28k-6qfl?variant=d924e5f1-e993-4c27-a4f1-37efa2e2fca6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black Gradient Brown"},{"name":"DENSITY","value":"100% (Thick)"}],"off_ratio":23,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Black Gradient 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:
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
$32.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":"d924e5f1-e993-4c27-a4f1-37efa2e2fca6","product_id":"2f3bcc6e-5f5e-4ff6-8c28-fbed0d40c92c","title":"Black Gradient Brown-100% (Thick)","weight_unit":"kg","inventory_quantity":985,"sku":"Alien-A31-BGLB","barcode":"","position":1,"option1":"Black Gradient Brown","option2":"100% (Thick)","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"32.99","retail_price":"42.99","available":true,"url":"\/products\/short-wavy-curly-heat-friendly-pixed-cut-wig-s28k-6qfl?variant=d924e5f1-e993-4c27-a4f1-37efa2e2fca6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black Gradient Brown"},{"name":"DENSITY","value":"100% (Thick)"}],"off_ratio":23,"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":"d924e5f1-e993-4c27-a4f1-37efa2e2fca6","product_id":"2f3bcc6e-5f5e-4ff6-8c28-fbed0d40c92c","title":"Black Gradient Brown-100% (Thick)","weight_unit":"kg","inventory_quantity":985,"sku":"Alien-A31-BGLB","barcode":"","position":1,"option1":"Black Gradient Brown","option2":"100% (Thick)","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"32.99","retail_price":"42.99","available":true,"url":"\/products\/short-wavy-curly-heat-friendly-pixed-cut-wig-s28k-6qfl?variant=d924e5f1-e993-4c27-a4f1-37efa2e2fca6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black Gradient Brown"},{"name":"DENSITY","value":"100% (Thick)"}],"off_ratio":23,"flashsale_info":[],"sales":1};
return `
`
}()}