Golf women's casual quick drying round neck top-HMS-A018
${function() {
const variantData = data.variant || {"id":"cfd456f6-e251-4035-800a-7983482fe5d7","product_id":"fb4c19e1-e2c1-4c02-bd3e-4d195b491c13","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":47,"sku":"HMS-A018-\u767d\u8272-S-A0012185","barcode":"","position":1,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2d3317364f5a4b1e04f1c2f7dcec5ac.jpg","path":"c2d3317364f5a4b1e04f1c2f7dcec5ac.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"29","retail_price":"0","available":true,"url":"\/products\/golf-womens-casual-quick-drying-round-neck-top-hms-a018?variant=cfd456f6-e251-4035-800a-7983482fe5d7","available_quantity":47,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":34};
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":"cfd456f6-e251-4035-800a-7983482fe5d7","product_id":"fb4c19e1-e2c1-4c02-bd3e-4d195b491c13","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":47,"sku":"HMS-A018-\u767d\u8272-S-A0012185","barcode":"","position":1,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2d3317364f5a4b1e04f1c2f7dcec5ac.jpg","path":"c2d3317364f5a4b1e04f1c2f7dcec5ac.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"29","retail_price":"0","available":true,"url":"\/products\/golf-womens-casual-quick-drying-round-neck-top-hms-a018?variant=cfd456f6-e251-4035-800a-7983482fe5d7","available_quantity":47,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":34};
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 `
`;
}()}