${function() {
const variantData = data.variant || {"id":"aa54689f-f529-435b-8346-38e83f4d450b","product_id":"4ba77309-8d38-4af1-a3ce-539aa20ab1cb","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgxbEaiW-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cee050e3d2ec554e19c7b05029084eb1.jpeg","path":"cee050e3d2ec554e19c7b05029084eb1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"400","compare_at_price":"49","price":"34.89","retail_price":"49","available":true,"url":"\/products\/moneytemptation-print-t-shirt-mesh-shorts-two-piece-set?variant=aa54689f-f529-435b-8346-38e83f4d450b","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
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 : XHgxbEaiW-Same_As_Photo-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"aa54689f-f529-435b-8346-38e83f4d450b","product_id":"4ba77309-8d38-4af1-a3ce-539aa20ab1cb","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgxbEaiW-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cee050e3d2ec554e19c7b05029084eb1.jpeg","path":"cee050e3d2ec554e19c7b05029084eb1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"400","compare_at_price":"49","price":"34.89","retail_price":"49","available":true,"url":"\/products\/moneytemptation-print-t-shirt-mesh-shorts-two-piece-set?variant=aa54689f-f529-435b-8346-38e83f4d450b","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}