${function() {
const variantData = data.variant || {"id":"6bb876ca-9144-45be-92f1-20aec1fddaab","product_id":"1f9c940a-18ee-44ef-b562-635c48fef351","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHA7TKpwU-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4796fc005e893ec289b74d2c27f7d8b.jpeg","path":"d4796fc005e893ec289b74d2c27f7d8b.jpeg","width":1583,"height":1583,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.89,"min_quantity":1}],"weight":"500","compare_at_price":"59","price":"41.89","retail_price":"59","available":true,"url":"\/products\/pretty-girls-love-hustlers-print-two-piece-set?variant=6bb876ca-9144-45be-92f1-20aec1fddaab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":2};
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 : XHA7TKpwU-Black-S
Weight : 500g
${function(){
const variantData = data.variant || {"id":"6bb876ca-9144-45be-92f1-20aec1fddaab","product_id":"1f9c940a-18ee-44ef-b562-635c48fef351","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHA7TKpwU-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4796fc005e893ec289b74d2c27f7d8b.jpeg","path":"d4796fc005e893ec289b74d2c27f7d8b.jpeg","width":1583,"height":1583,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.89,"min_quantity":1}],"weight":"500","compare_at_price":"59","price":"41.89","retail_price":"59","available":true,"url":"\/products\/pretty-girls-love-hustlers-print-two-piece-set?variant=6bb876ca-9144-45be-92f1-20aec1fddaab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}