【Pre sale, shipped on September 22th】HB60150 # Autumn and Winter New Round Neck Knitted Cardigan Women's Top
${function() {
const variantData = data.variant || {"id":"7fadd53d-711c-453a-9957-4bf1f5b3e9bc","product_id":"965b6fb8-6dfe-4d0a-8ed7-a46319b8ff48","title":"black-S","weight_unit":"kg","inventory_quantity":17,"sku":"HB60150#P190-black-S-A00113039","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52789bfd4fb37c2888a82538d22fb579.jpg","path":"52789bfd4fb37c2888a82538d22fb579.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-september-22th-hb60150-autumn-and-winter-new-round-neck-knitted-cardigan-womens-top?variant=7fadd53d-711c-453a-9957-4bf1f5b3e9bc","available_quantity":17,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":18};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"7fadd53d-711c-453a-9957-4bf1f5b3e9bc","product_id":"965b6fb8-6dfe-4d0a-8ed7-a46319b8ff48","title":"black-S","weight_unit":"kg","inventory_quantity":17,"sku":"HB60150#P190-black-S-A00113039","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52789bfd4fb37c2888a82538d22fb579.jpg","path":"52789bfd4fb37c2888a82538d22fb579.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-september-22th-hb60150-autumn-and-winter-new-round-neck-knitted-cardigan-womens-top?variant=7fadd53d-711c-453a-9957-4bf1f5b3e9bc","available_quantity":17,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":18};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}