Golf women's autumn new sports knee high socks versatile breathable all cotton 4 embroidered towel bottom long socks
${function() {
const variantData = data.variant || {"id":"d6a203ea-333b-4080-84ad-eb4d1701c7ae","product_id":"ad275688-e2c1-4d08-a373-1b2e11dfbe6c","title":"white","weight_unit":"kg","inventory_quantity":18,"sku":"\u51b0\u51b0-20-white-A0017389","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f85d96cdc9e9bff8e54a619c5a3abdb.jpg","path":"8f85d96cdc9e9bff8e54a619c5a3abdb.jpg","width":750,"height":1125,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":13,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"13","retail_price":"0","available":true,"url":"\/products\/golf-womens-autumn-new-sports-knee-high-socks-versatile-breathable-all-cotton-4-embroidered-towel-bottom-long-socks?variant=d6a203ea-333b-4080-84ad-eb4d1701c7ae","available_quantity":18,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":47};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"d6a203ea-333b-4080-84ad-eb4d1701c7ae","product_id":"ad275688-e2c1-4d08-a373-1b2e11dfbe6c","title":"white","weight_unit":"kg","inventory_quantity":18,"sku":"\u51b0\u51b0-20-white-A0017389","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f85d96cdc9e9bff8e54a619c5a3abdb.jpg","path":"8f85d96cdc9e9bff8e54a619c5a3abdb.jpg","width":750,"height":1125,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":13,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"13","retail_price":"0","available":true,"url":"\/products\/golf-womens-autumn-new-sports-knee-high-socks-versatile-breathable-all-cotton-4-embroidered-towel-bottom-long-socks?variant=d6a203ea-333b-4080-84ad-eb4d1701c7ae","available_quantity":18,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":47};
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 `
`;
}()}