${function() {
const variantData = data.variant || {"id":"1ebe7773-02cf-4b53-a81b-65e30aa1b402","product_id":"caac80cc-6d34-4a40-8db1-e089606c9f84","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHL2YHAje-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/039b516b38cfa87fd077cf0e8a2a6199.jpeg","path":"039b516b38cfa87fd077cf0e8a2a6199.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/active-and-attractive-print-short-sleeve-t-shirt?variant=1ebe7773-02cf-4b53-a81b-65e30aa1b402","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
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 : XHL2YHAje-White-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"1ebe7773-02cf-4b53-a81b-65e30aa1b402","product_id":"caac80cc-6d34-4a40-8db1-e089606c9f84","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHL2YHAje-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/039b516b38cfa87fd077cf0e8a2a6199.jpeg","path":"039b516b38cfa87fd077cf0e8a2a6199.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/active-and-attractive-print-short-sleeve-t-shirt?variant=1ebe7773-02cf-4b53-a81b-65e30aa1b402","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}