${function() {
const variantData = data.variant || {"id":"968e884e-39ef-4c74-8f01-1e7a7fdc3269","product_id":"03feaab9-c1fa-4eb6-a0ee-025673200fe9","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHsDagqDO-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3f6f9ca0cb34591af22f10bead3ac01.jpeg","path":"e3f6f9ca0cb34591af22f10bead3ac01.jpeg","width":822,"height":822,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"23.99","retail_price":"32","available":true,"url":"\/products\/statement-crew-neck-print-short-sleeve-t-shirt?variant=968e884e-39ef-4c74-8f01-1e7a7fdc3269","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":4};
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 : XHsDagqDO-White-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"968e884e-39ef-4c74-8f01-1e7a7fdc3269","product_id":"03feaab9-c1fa-4eb6-a0ee-025673200fe9","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHsDagqDO-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3f6f9ca0cb34591af22f10bead3ac01.jpeg","path":"e3f6f9ca0cb34591af22f10bead3ac01.jpeg","width":822,"height":822,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"23.99","retail_price":"32","available":true,"url":"\/products\/statement-crew-neck-print-short-sleeve-t-shirt?variant=968e884e-39ef-4c74-8f01-1e7a7fdc3269","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}