Retro patchwork V-neck cotton and linen shirt
${function() {
const variantData = data.variant || {"id":"3453882d-961f-4338-b6ce-40fc3cf884c3","product_id":"e8610b76-178c-4d36-b059-4ddd679388e6","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2127678800045","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a2859bf7537fd5cb7ef42d0e6e20b1b9.jpeg","path":"a2859bf7537fd5cb7ef42d0e6e20b1b9.jpeg","width":736,"height":981,"alt":"","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/retro-patchwork-v-neck-cotton-and-linen-shirt?variant=3453882d-961f-4338-b6ce-40fc3cf884c3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"3453882d-961f-4338-b6ce-40fc3cf884c3","product_id":"e8610b76-178c-4d36-b059-4ddd679388e6","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2127678800045","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a2859bf7537fd5cb7ef42d0e6e20b1b9.jpeg","path":"a2859bf7537fd5cb7ef42d0e6e20b1b9.jpeg","width":736,"height":981,"alt":"","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/retro-patchwork-v-neck-cotton-and-linen-shirt?variant=3453882d-961f-4338-b6ce-40fc3cf884c3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}