Ingvn - Vintage Clear Lens Glasses
${function() {
const variantData = data.variant || {"id":"bb7a7743-d064-4e68-9798-69e2b06f52ea","product_id":"4404625d-9ee0-4d79-9815-dba60415162d","title":"Green","weight_unit":"g","inventory_quantity":888,"sku":"71:175#Green","barcode":"null","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dab881ec747766aef01361b3356b8a57.jpeg","path":"dab881ec747766aef01361b3356b8a57.jpeg","width":1000,"height":1000,"alt":"Ingvn - Vintage Clear Lens Glasses Green Sunglasses","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.89","retail_price":"0","available":true,"url":"\/products\/clear-y2k-sunglasses?variant=bb7a7743-d064-4e68-9798-69e2b06f52ea","available_quantity":999999999,"options":[{"name":"Frame Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : 71:175#Green
Barcode : null
${function(){
const variantData = data.variant || {"id":"bb7a7743-d064-4e68-9798-69e2b06f52ea","product_id":"4404625d-9ee0-4d79-9815-dba60415162d","title":"Green","weight_unit":"g","inventory_quantity":888,"sku":"71:175#Green","barcode":"null","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dab881ec747766aef01361b3356b8a57.jpeg","path":"dab881ec747766aef01361b3356b8a57.jpeg","width":1000,"height":1000,"alt":"Ingvn - Vintage Clear Lens Glasses Green Sunglasses","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.89","retail_price":"0","available":true,"url":"\/products\/clear-y2k-sunglasses?variant=bb7a7743-d064-4e68-9798-69e2b06f52ea","available_quantity":999999999,"options":[{"name":"Frame Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}