${function(){
const variantData = data.variant || {"id":"45252218-15c6-4423-99f8-8abc2cca9e62","product_id":"c1a59a07-ba85-4452-ae0a-2d0fc2cde190","title":"3PC","weight_unit":"kg","inventory_quantity":0,"sku":"FKE-3PC1208055","barcode":"","position":1,"option1":"3PC","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e4fa1b11a607f5118710e78b67506ed.jpg","path":"9e4fa1b11a607f5118710e78b67506ed.jpg","width":1200,"height":1200,"alt":"Dandelion Elf Girl 30*30CM (Canvas) Special Drill Diamond Painting gbfke","aspect_ratio":1},"wholesale_price":[{"price":9.33,"min_quantity":1}],"weight":"0","compare_at_price":"11.67","price":"9.33","retail_price":"11.67","available":true,"url":"\/products\/dandelion-elf-girl-30-30cm-canvas-special-drill-diamond-painting?variant=45252218-15c6-4423-99f8-8abc2cca9e62","available_quantity":999999999,"options":[{"name":"Style","value":"3PC"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"45252218-15c6-4423-99f8-8abc2cca9e62","product_id":"c1a59a07-ba85-4452-ae0a-2d0fc2cde190","title":"3PC","weight_unit":"kg","inventory_quantity":0,"sku":"FKE-3PC1208055","barcode":"","position":1,"option1":"3PC","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e4fa1b11a607f5118710e78b67506ed.jpg","path":"9e4fa1b11a607f5118710e78b67506ed.jpg","width":1200,"height":1200,"alt":"Dandelion Elf Girl 30*30CM (Canvas) Special Drill Diamond Painting gbfke","aspect_ratio":1},"wholesale_price":[{"price":9.33,"min_quantity":1}],"weight":"0","compare_at_price":"11.67","price":"9.33","retail_price":"11.67","available":true,"url":"\/products\/dandelion-elf-girl-30-30cm-canvas-special-drill-diamond-painting?variant=45252218-15c6-4423-99f8-8abc2cca9e62","available_quantity":999999999,"options":[{"name":"Style","value":"3PC"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function() {
const minInventory = parseInt('1');
const maxInventory = parseInt('15');
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.
people are viewing this right now