H7007 # Golf Autumn New V-neck Casual Fried Dough Twists Sweater Slightly Thick Warm Fit Knit
${function() {
const variantData = data.variant || {"id":"9dfbac0b-c551-48c0-8524-d6c74add27c9","product_id":"00c60e73-e401-4e1c-8c66-b7cf1c0b34da","title":"black-S","weight_unit":"kg","inventory_quantity":30,"sku":"H7007#180-black-S-A0017760","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7126c7095517a04eb55cb44dbac303cb.jpg","path":"7126c7095517a04eb55cb44dbac303cb.jpg","width":800,"height":1066,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/h7007-golf-autumn-new-v-neck-casual-fried-dough-twists-sweater-slightly-thick-warm-fit-knit?variant=9dfbac0b-c551-48c0-8524-d6c74add27c9","available_quantity":30,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"9dfbac0b-c551-48c0-8524-d6c74add27c9","product_id":"00c60e73-e401-4e1c-8c66-b7cf1c0b34da","title":"black-S","weight_unit":"kg","inventory_quantity":30,"sku":"H7007#180-black-S-A0017760","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7126c7095517a04eb55cb44dbac303cb.jpg","path":"7126c7095517a04eb55cb44dbac303cb.jpg","width":800,"height":1066,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/h7007-golf-autumn-new-v-neck-casual-fried-dough-twists-sweater-slightly-thick-warm-fit-knit?variant=9dfbac0b-c551-48c0-8524-d6c74add27c9","available_quantity":30,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}