🔥New Year Sale🔥Sale 50% OFF Now🔥Casual Gradient Linen Gold Short Wig
${function() {
const variantData = data.variant || {"id":"e94f5c1b-939b-4917-ac52-c8f4070ee17f","product_id":"3374b801-5934-4c68-aadb-2f69b97f21f6","title":"Same As Picture-100%(Normal)","weight_unit":"kg","inventory_quantity":999,"sku":"ZY01-Same As Picture-100%(Normal)","barcode":"","position":1,"option1":"Same As Picture","option2":"100%(Normal)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3dbd4e75fac050ea4e4e91a498fc0999.jpeg","path":"3dbd4e75fac050ea4e4e91a498fc0999.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.99","retail_price":"59.99","available":true,"url":"\/products\/casual-gradient-linen-gold-short-wig-q4mc?variant=e94f5c1b-939b-4917-ac52-c8f4070ee17f","available_quantity":999999999,"options":[{"name":"Color","value":"Same As Picture"},{"name":"density","value":"100%(Normal)"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Same As Picture
${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%(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}
`
}()}
Add to cart
$29.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":"e94f5c1b-939b-4917-ac52-c8f4070ee17f","product_id":"3374b801-5934-4c68-aadb-2f69b97f21f6","title":"Same As Picture-100%(Normal)","weight_unit":"kg","inventory_quantity":999,"sku":"ZY01-Same As Picture-100%(Normal)","barcode":"","position":1,"option1":"Same As Picture","option2":"100%(Normal)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3dbd4e75fac050ea4e4e91a498fc0999.jpeg","path":"3dbd4e75fac050ea4e4e91a498fc0999.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.99","retail_price":"59.99","available":true,"url":"\/products\/casual-gradient-linen-gold-short-wig-q4mc?variant=e94f5c1b-939b-4917-ac52-c8f4070ee17f","available_quantity":999999999,"options":[{"name":"Color","value":"Same As Picture"},{"name":"density","value":"100%(Normal)"}],"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":"e94f5c1b-939b-4917-ac52-c8f4070ee17f","product_id":"3374b801-5934-4c68-aadb-2f69b97f21f6","title":"Same As Picture-100%(Normal)","weight_unit":"kg","inventory_quantity":999,"sku":"ZY01-Same As Picture-100%(Normal)","barcode":"","position":1,"option1":"Same As Picture","option2":"100%(Normal)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3dbd4e75fac050ea4e4e91a498fc0999.jpeg","path":"3dbd4e75fac050ea4e4e91a498fc0999.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"29.99","retail_price":"59.99","available":true,"url":"\/products\/casual-gradient-linen-gold-short-wig-q4mc?variant=e94f5c1b-939b-4917-ac52-c8f4070ee17f","available_quantity":999999999,"options":[{"name":"Color","value":"Same As Picture"},{"name":"density","value":"100%(Normal)"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}