【 TOPPP】W225071- Spring/Summer New Women's Fake Two Piece Knitted Half Sleeve Top
${function() {
const variantData = data.variant || {"id":"b61a7714-de2b-4fcb-ad5c-fc6b774877c6","product_id":"0ace8b31-2ba0-4cd0-bf1e-19725255e093","title":"black-S","weight_unit":"kg","inventory_quantity":17,"sku":"W225071180-black-S-A0014221","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c881f94da3e2f53bd5fc0ee0df0d0bf6.jpg","path":"c881f94da3e2f53bd5fc0ee0df0d0bf6.jpg","width":1081,"height":925,"alt":"","aspect_ratio":1.1686486486486487},"wholesale_price":[{"price":41.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"41.8","retail_price":"0","available":true,"url":"\/products\/toppp-w225071-spring-summer-new-womens-fake-two-piece-knitted-half-sleeve-top?variant=b61a7714-de2b-4fcb-ad5c-fc6b774877c6","available_quantity":17,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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":"b61a7714-de2b-4fcb-ad5c-fc6b774877c6","product_id":"0ace8b31-2ba0-4cd0-bf1e-19725255e093","title":"black-S","weight_unit":"kg","inventory_quantity":17,"sku":"W225071180-black-S-A0014221","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c881f94da3e2f53bd5fc0ee0df0d0bf6.jpg","path":"c881f94da3e2f53bd5fc0ee0df0d0bf6.jpg","width":1081,"height":925,"alt":"","aspect_ratio":1.1686486486486487},"wholesale_price":[{"price":41.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"41.8","retail_price":"0","available":true,"url":"\/products\/toppp-w225071-spring-summer-new-womens-fake-two-piece-knitted-half-sleeve-top?variant=b61a7714-de2b-4fcb-ad5c-fc6b774877c6","available_quantity":17,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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 `
`;
}()}