m17 R5 17.3
${function() {
const variantData = data.variant || {"id":"ab70f40e-8ed7-4ff2-a10e-88b1d41e4573","product_id":"a3a0ad66-a333-4a05-9f9a-819048c4f925","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838198223","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d6f8c8f1d878f3bf32429f51406f2ca.jpeg","path":"9d6f8c8f1d878f3bf32429f51406f2ca.jpeg","width":720,"height":530,"alt":"","aspect_ratio":1.3584905660377358},"wholesale_price":[{"price":13.15,"min_quantity":1}],"weight":"0","compare_at_price":"3459","price":"13.15","retail_price":"3459","available":true,"url":"\/products\/alienware-m17-r5-17-3-fhd-360hz-gaming-laptop-amd-ryzen-7-6800h-8-core-up-to-4-70-ghz-cpu-32gb-ddr5-ram-8tb-nvme-ssd-geforce-rtx-3070-ti-8gb-gddr6-windows-11-pro-dark-side-of-the-moon?variant=ab70f40e-8ed7-4ff2-a10e-88b1d41e4573","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":100,"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":"ab70f40e-8ed7-4ff2-a10e-88b1d41e4573","product_id":"a3a0ad66-a333-4a05-9f9a-819048c4f925","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838198223","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d6f8c8f1d878f3bf32429f51406f2ca.jpeg","path":"9d6f8c8f1d878f3bf32429f51406f2ca.jpeg","width":720,"height":530,"alt":"","aspect_ratio":1.3584905660377358},"wholesale_price":[{"price":13.15,"min_quantity":1}],"weight":"0","compare_at_price":"3459","price":"13.15","retail_price":"3459","available":true,"url":"\/products\/alienware-m17-r5-17-3-fhd-360hz-gaming-laptop-amd-ryzen-7-6800h-8-core-up-to-4-70-ghz-cpu-32gb-ddr5-ram-8tb-nvme-ssd-geforce-rtx-3070-ti-8gb-gddr6-windows-11-pro-dark-side-of-the-moon?variant=ab70f40e-8ed7-4ff2-a10e-88b1d41e4573","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":100,"flashsale_info":[],"sales":0};
return `
`
}()}