🔥New Year Sale🔥💖New Mid-Length Bob Trend Wig
${function() {
const variantData = data.variant || {"id":"4fb60534-1738-41d0-8c4e-09c6bb7f886f","product_id":"e5d8cfef-a77a-4c17-89cb-b1ecad97016e","title":"ADJUSTABLE STRAP-CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2141334200855","barcode":"","position":1,"option1":"ADJUSTABLE STRAP","option2":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8043233c9b3a0f62f85009489c7b9b4.jpeg","path":"b8043233c9b3a0f62f85009489c7b9b4.jpeg","width":3264,"height":3264,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0","compare_at_price":"48","price":"48","retail_price":"48","available":true,"url":"\/products\/\ud83d\udc96new-mid-length-bob-trend-wig-2141334200854?variant=4fb60534-1738-41d0-8c4e-09c6bb7f886f","available_quantity":999999999,"options":[{"name":"SIZE","value":"ADJUSTABLE STRAP"},{"name":"COLOR","value":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Size:
ADJUSTABLE STRAP
${function(){
const optName = "SIZE";
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:
CHESTNUT🔥AS SEEN ON VIDEO
${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
$48.00
${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":"4fb60534-1738-41d0-8c4e-09c6bb7f886f","product_id":"e5d8cfef-a77a-4c17-89cb-b1ecad97016e","title":"ADJUSTABLE STRAP-CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2141334200855","barcode":"","position":1,"option1":"ADJUSTABLE STRAP","option2":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8043233c9b3a0f62f85009489c7b9b4.jpeg","path":"b8043233c9b3a0f62f85009489c7b9b4.jpeg","width":3264,"height":3264,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0","compare_at_price":"48","price":"48","retail_price":"48","available":true,"url":"\/products\/\ud83d\udc96new-mid-length-bob-trend-wig-2141334200854?variant=4fb60534-1738-41d0-8c4e-09c6bb7f886f","available_quantity":999999999,"options":[{"name":"SIZE","value":"ADJUSTABLE STRAP"},{"name":"COLOR","value":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO"}],"off_ratio":0,"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":"4fb60534-1738-41d0-8c4e-09c6bb7f886f","product_id":"e5d8cfef-a77a-4c17-89cb-b1ecad97016e","title":"ADJUSTABLE STRAP-CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2141334200855","barcode":"","position":1,"option1":"ADJUSTABLE STRAP","option2":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8043233c9b3a0f62f85009489c7b9b4.jpeg","path":"b8043233c9b3a0f62f85009489c7b9b4.jpeg","width":3264,"height":3264,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0","compare_at_price":"48","price":"48","retail_price":"48","available":true,"url":"\/products\/\ud83d\udc96new-mid-length-bob-trend-wig-2141334200854?variant=4fb60534-1738-41d0-8c4e-09c6bb7f886f","available_quantity":999999999,"options":[{"name":"SIZE","value":"ADJUSTABLE STRAP"},{"name":"COLOR","value":"CHESTNUT\ud83d\udd25AS SEEN ON VIDEO"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}