W123119 New Women's Knitted Sunscreen Sleeve Spliced Long sleeved Shirt
${function() {
const variantData = data.variant || {"id":"5903ebc6-eaab-426f-9aa9-794a01d4aec8","product_id":"a61d87d3-b96c-4384-a14b-5c5c650ab63d","title":"\u7eff\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W123119200-\u7eff\u8272-S-A0012197","barcode":"","position":1,"option1":"\u7eff\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6bb961e0bd137831801ad9315e7e6b7c.jpg","path":"6bb961e0bd137831801ad9315e7e6b7c.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"44","retail_price":"0","available":true,"url":"\/products\/w123119-new-womens-knitted-sunscreen-sleeve-spliced-long-sleeved-shirt?variant=5903ebc6-eaab-426f-9aa9-794a01d4aec8","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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}
`
}()}
${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":"5903ebc6-eaab-426f-9aa9-794a01d4aec8","product_id":"a61d87d3-b96c-4384-a14b-5c5c650ab63d","title":"\u7eff\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W123119200-\u7eff\u8272-S-A0012197","barcode":"","position":1,"option1":"\u7eff\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6bb961e0bd137831801ad9315e7e6b7c.jpg","path":"6bb961e0bd137831801ad9315e7e6b7c.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"44","retail_price":"0","available":true,"url":"\/products\/w123119-new-womens-knitted-sunscreen-sleeve-spliced-long-sleeved-shirt?variant=5903ebc6-eaab-426f-9aa9-794a01d4aec8","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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 `
`;
}()}