${function() {
const variantData = data.variant || {"id":"dd1a1b42-b79d-4f82-8f75-8e1159417975","product_id":"cd1d7793-f1d1-4ce7-b4fe-10979f19cafd","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHN0jq008-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0279b49e9b458e8cd461521637ffef8.jpeg","path":"e0279b49e9b458e8cd461521637ffef8.jpeg","width":1305,"height":1305,"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\/vintage-print-t-shirt-shorts-two-piece-set?variant=dd1a1b42-b79d-4f82-8f75-8e1159417975","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHN0jq008-Same_As_Photo-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"dd1a1b42-b79d-4f82-8f75-8e1159417975","product_id":"cd1d7793-f1d1-4ce7-b4fe-10979f19cafd","title":"Same_As_Photo-S","weight_unit":"g","inventory_quantity":999,"sku":"XHN0jq008-Same_As_Photo-S","barcode":"","position":1,"option1":"Same_As_Photo","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0279b49e9b458e8cd461521637ffef8.jpeg","path":"e0279b49e9b458e8cd461521637ffef8.jpeg","width":1305,"height":1305,"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\/vintage-print-t-shirt-shorts-two-piece-set?variant=dd1a1b42-b79d-4f82-8f75-8e1159417975","available_quantity":999999999,"options":[{"name":"Color","value":"Same_As_Photo"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}