Put on & Go Ombre Light Blonde Short Brazilian Rose Curls Wig
${function() {
const variantData = data.variant || {"id":"37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","product_id":"e945b63d-fc4e-48d2-9270-5d422a96dfec","title":"Ombre Light Blonde-10 Inch","weight_unit":"kg","inventory_quantity":999,"sku":"JC2699-Ombre","barcode":"","position":1,"option1":"Ombre Light Blonde","option2":"10 Inch","option3":"","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.98","price":"31.99","retail_price":"59.98","available":true,"url":"\/products\/short-ombre-dark-golden-blonde-brazilian-curly-wigeeea30ca-cd75-463c-9afe-010d46e028fa?variant=37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Ombre Light Blonde"},{"name":"LENGTH","value":"10 Inch"}],"off_ratio":47,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
COLOR:
Ombre Light Blonde
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
LENGTH:
10 Inch
${function(){
return `${data.value} `;
}()}
${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":"37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","product_id":"e945b63d-fc4e-48d2-9270-5d422a96dfec","title":"Ombre Light Blonde-10 Inch","weight_unit":"kg","inventory_quantity":999,"sku":"JC2699-Ombre","barcode":"","position":1,"option1":"Ombre Light Blonde","option2":"10 Inch","option3":"","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.98","price":"31.99","retail_price":"59.98","available":true,"url":"\/products\/short-ombre-dark-golden-blonde-brazilian-curly-wigeeea30ca-cd75-463c-9afe-010d46e028fa?variant=37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Ombre Light Blonde"},{"name":"LENGTH","value":"10 Inch"}],"off_ratio":47,"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":"37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","product_id":"e945b63d-fc4e-48d2-9270-5d422a96dfec","title":"Ombre Light Blonde-10 Inch","weight_unit":"kg","inventory_quantity":999,"sku":"JC2699-Ombre","barcode":"","position":1,"option1":"Ombre Light Blonde","option2":"10 Inch","option3":"","note":"","image":null,"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.98","price":"31.99","retail_price":"59.98","available":true,"url":"\/products\/short-ombre-dark-golden-blonde-brazilian-curly-wigeeea30ca-cd75-463c-9afe-010d46e028fa?variant=37b25ca6-3bdd-4cf2-b19c-ddebe01426b6","available_quantity":999999999,"options":[{"name":"COLOR","value":"Ombre Light Blonde"},{"name":"LENGTH","value":"10 Inch"}],"off_ratio":47,"flashsale_info":[],"sales":1};
return `
`
}()}