Mechanics Tool Set, SAE and Metric, 1/2, 1/4, 3/8 Drive Sizes, 192-Piece
${function() {
const variantData = data.variant || {"id":"3b6837d6-9172-4e1e-8741-95b8ff2498fd","product_id":"4618f249-62dd-409f-bb13-32a0a454f868","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838646165","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36f73f59b5b3e0ada47eb9bf291676b4.jpeg","path":"36f73f59b5b3e0ada47eb9bf291676b4.jpeg","width":446,"height":921,"alt":"","aspect_ratio":0.48425624321389793},"wholesale_price":[{"price":19,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"19","retail_price":"70","available":true,"url":"\/products\/mechanics-tool-set-sae-and-metric-1-2-1-4-3-8-drive-sizes-192-piece-w102540?variant=3b6837d6-9172-4e1e-8741-95b8ff2498fd","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":73,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3b6837d6-9172-4e1e-8741-95b8ff2498fd","product_id":"4618f249-62dd-409f-bb13-32a0a454f868","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838646165","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36f73f59b5b3e0ada47eb9bf291676b4.jpeg","path":"36f73f59b5b3e0ada47eb9bf291676b4.jpeg","width":446,"height":921,"alt":"","aspect_ratio":0.48425624321389793},"wholesale_price":[{"price":19,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"19","retail_price":"70","available":true,"url":"\/products\/mechanics-tool-set-sae-and-metric-1-2-1-4-3-8-drive-sizes-192-piece-w102540?variant=3b6837d6-9172-4e1e-8741-95b8ff2498fd","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":73,"flashsale_info":[],"sales":0};
return `
`
}()}