Ingvn - Clear Pvc Rhinestone Sling-Back High Heels
${function() {
const variantData = data.variant || {"id":"1d66e6f2-df5f-42b9-abc3-b74f32581ab0","product_id":"94b84243-0d04-40be-a5d7-02ee7864217e","title":"Golden-5","weight_unit":"g","inventory_quantity":888,"sku":"YB9096JS05","barcode":"","position":1,"option1":"Golden","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d6a0ce5239af99111e648c8bb957937.jpeg","path":"4d6a0ce5239af99111e648c8bb957937.jpeg","width":1000,"height":1000,"alt":"Ingvn - Clear Pvc Rhinestone Sling-Back High Heels Golden \/ 5","aspect_ratio":1},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0","compare_at_price":"72","price":"37.98","retail_price":"72","available":true,"url":"\/products\/clear-pvc-rhinestone-sling-back-high-heels?variant=1d66e6f2-df5f-42b9-abc3-b74f32581ab0","available_quantity":999999999,"options":[{"name":"Color","value":"Golden"},{"name":"Size","value":"5"}],"off_ratio":47,"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}
`
}()}
${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":"1d66e6f2-df5f-42b9-abc3-b74f32581ab0","product_id":"94b84243-0d04-40be-a5d7-02ee7864217e","title":"Golden-5","weight_unit":"g","inventory_quantity":888,"sku":"YB9096JS05","barcode":"","position":1,"option1":"Golden","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d6a0ce5239af99111e648c8bb957937.jpeg","path":"4d6a0ce5239af99111e648c8bb957937.jpeg","width":1000,"height":1000,"alt":"Ingvn - Clear Pvc Rhinestone Sling-Back High Heels Golden \/ 5","aspect_ratio":1},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0","compare_at_price":"72","price":"37.98","retail_price":"72","available":true,"url":"\/products\/clear-pvc-rhinestone-sling-back-high-heels?variant=1d66e6f2-df5f-42b9-abc3-b74f32581ab0","available_quantity":999999999,"options":[{"name":"Color","value":"Golden"},{"name":"Size","value":"5"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}