Pink French Cashmere V-Neck Santa Claus Top for Women
${function() {
const variantData = data.variant || {"id":"55773e9f-6f32-48dd-8dbe-ec0edd41c8c8","product_id":"07113e2b-81a2-45bf-b7ca-a4df2bf60191","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09cf4b4b22a59b6ba0fea67e55549e78.jpeg","path":"09cf4b4b22a59b6ba0fea67e55549e78.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"29.99","retail_price":"42.99","available":true,"url":"\/products\/pink-french-cashmere-v-neck-santa-claus-top-for-women-1?variant=55773e9f-6f32-48dd-8dbe-ec0edd41c8c8","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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 `
`;
}()}
${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.