${function() {
const variantData = data.variant || {"id":"600b4ec1-7997-47dd-9d01-5af11779f428","product_id":"9c538a52-e4a7-4c9b-8cef-8ee8c38f03f6","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHhMu286w-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99050ed16b7a5d4a756e062e0be1aba2.jpeg","path":"99050ed16b7a5d4a756e062e0be1aba2.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"200","compare_at_price":"28","price":"23.89","retail_price":"28","available":true,"url":"\/products\/angel-slogan-graphic-print-elastic-shorts?variant=600b4ec1-7997-47dd-9d01-5af11779f428","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"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 : XHhMu286w-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"600b4ec1-7997-47dd-9d01-5af11779f428","product_id":"9c538a52-e4a7-4c9b-8cef-8ee8c38f03f6","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHhMu286w-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99050ed16b7a5d4a756e062e0be1aba2.jpeg","path":"99050ed16b7a5d4a756e062e0be1aba2.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"200","compare_at_price":"28","price":"23.89","retail_price":"28","available":true,"url":"\/products\/angel-slogan-graphic-print-elastic-shorts?variant=600b4ec1-7997-47dd-9d01-5af11779f428","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}