${function() {
const variantData = data.variant || {"id":"1d0eb5a2-dda3-4889-a79f-1644b15a8668","product_id":"0bb5ce16-0220-4064-b56d-adf55f1ea076","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHu3ABJlQ-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c4ce576ac9219e59b296014079582d2.jpeg","path":"7c4ce576ac9219e59b296014079582d2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"220","compare_at_price":"29","price":"21.89","retail_price":"29","available":true,"url":"\/products\/cross-child-of-god-printed-three-quarter-sleeve-t-shirt?variant=1d0eb5a2-dda3-4889-a79f-1644b15a8668","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":5};
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 : XHu3ABJlQ-Green-S
Weight : 220g
${function(){
const variantData = data.variant || {"id":"1d0eb5a2-dda3-4889-a79f-1644b15a8668","product_id":"0bb5ce16-0220-4064-b56d-adf55f1ea076","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHu3ABJlQ-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c4ce576ac9219e59b296014079582d2.jpeg","path":"7c4ce576ac9219e59b296014079582d2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"220","compare_at_price":"29","price":"21.89","retail_price":"29","available":true,"url":"\/products\/cross-child-of-god-printed-three-quarter-sleeve-t-shirt?variant=1d0eb5a2-dda3-4889-a79f-1644b15a8668","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}