people are viewing this right now
${function() {
const variantData = data.variant || {"id":"066cc443-3a32-4b9b-98d2-e498d358898c","product_id":"eb4a8b0b-ed79-4ce4-b723-914f73fa786a","title":"white-36","weight_unit":"kg","inventory_quantity":9999,"sku":"","barcode":"","position":1,"option1":"white","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e3543fdf85dab039dc9699647c1ea57.jpg","path":"0e3543fdf85dab039dc9699647c1ea57.jpg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/shoe-buckle-one-word-13cm-thick-super-high-heels-large-size-shoes?variant=066cc443-3a32-4b9b-98d2-e498d358898c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"36"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"066cc443-3a32-4b9b-98d2-e498d358898c","product_id":"eb4a8b0b-ed79-4ce4-b723-914f73fa786a","title":"white-36","weight_unit":"kg","inventory_quantity":9999,"sku":"","barcode":"","position":1,"option1":"white","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e3543fdf85dab039dc9699647c1ea57.jpg","path":"0e3543fdf85dab039dc9699647c1ea57.jpg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/shoe-buckle-one-word-13cm-thick-super-high-heels-large-size-shoes?variant=066cc443-3a32-4b9b-98d2-e498d358898c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"36"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}