${function() {
const variantData = data.variant || {"id":"b8d23400-3253-4e4b-a13a-336736fca927","product_id":"14f9a787-3256-4657-b027-fc436448bfa6","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0169-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09845166f0f4542062140cec32c05aa8.jpeg","path":"09845166f0f4542062140cec32c05aa8.jpeg","width":768,"height":1024,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.9","price":"29.98","retail_price":"38.9","available":true,"url":"\/products\/artist-floral-print-cotton-shirt?variant=b8d23400-3253-4e4b-a13a-336736fca927","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":2};
const saveType = "amount";
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 : NC0169-White-S
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"b8d23400-3253-4e4b-a13a-336736fca927","product_id":"14f9a787-3256-4657-b027-fc436448bfa6","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0169-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09845166f0f4542062140cec32c05aa8.jpeg","path":"09845166f0f4542062140cec32c05aa8.jpeg","width":768,"height":1024,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0.2","compare_at_price":"38.9","price":"29.98","retail_price":"38.9","available":true,"url":"\/products\/artist-floral-print-cotton-shirt?variant=b8d23400-3253-4e4b-a13a-336736fca927","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}