${function() {
const variantData = data.variant || {"id":"65f44a87-1e06-4a51-bd7f-31ac786b625e","product_id":"d3ea14f2-2945-4190-aea8-e389022132f8","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHYOxqxYj-Red-S","barcode":"","position":11,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6405e65c4f19ed8075e08a6608eff0c.jpeg","path":"e6405e65c4f19ed8075e08a6608eff0c.jpeg","width":1389,"height":1389,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.89,"min_quantity":1}],"weight":"550","compare_at_price":"78","price":"59.89","retail_price":"78","available":true,"url":"\/products\/personalized-fashion-letter-print-pattern-zipper-trousers-set?variant=65f44a87-1e06-4a51-bd7f-31ac786b625e","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":159};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.
Sku : XHYOxqxYj-Red-S
Weight : 550g
${function(){
const variantData = data.variant || {"id":"65f44a87-1e06-4a51-bd7f-31ac786b625e","product_id":"d3ea14f2-2945-4190-aea8-e389022132f8","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XHYOxqxYj-Red-S","barcode":"","position":11,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6405e65c4f19ed8075e08a6608eff0c.jpeg","path":"e6405e65c4f19ed8075e08a6608eff0c.jpeg","width":1389,"height":1389,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.89,"min_quantity":1}],"weight":"550","compare_at_price":"78","price":"59.89","retail_price":"78","available":true,"url":"\/products\/personalized-fashion-letter-print-pattern-zipper-trousers-set?variant=65f44a87-1e06-4a51-bd7f-31ac786b625e","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":159};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}