${function() {
const variantData = data.variant || {"id":"307f9446-cbf8-4b61-b75d-4c96b45f7543","product_id":"b64cec40-0ced-40fd-92be-d1b2f8a06aea","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XH6BztO4b-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9e68c8ca7b62f4c9e81575e9ce76a7b.jpeg","path":"c9e68c8ca7b62f4c9e81575e9ce76a7b.jpeg","width":1263,"height":1263,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"200","compare_at_price":"43","price":"29.89","retail_price":"43","available":true,"url":"\/products\/fashionable-and-personalized-anime-double-layer-shorts?variant=307f9446-cbf8-4b61-b75d-4c96b45f7543","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
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 : XH6BztO4b-Red-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"307f9446-cbf8-4b61-b75d-4c96b45f7543","product_id":"b64cec40-0ced-40fd-92be-d1b2f8a06aea","title":"Red-S","weight_unit":"g","inventory_quantity":999,"sku":"XH6BztO4b-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9e68c8ca7b62f4c9e81575e9ce76a7b.jpeg","path":"c9e68c8ca7b62f4c9e81575e9ce76a7b.jpeg","width":1263,"height":1263,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"200","compare_at_price":"43","price":"29.89","retail_price":"43","available":true,"url":"\/products\/fashionable-and-personalized-anime-double-layer-shorts?variant=307f9446-cbf8-4b61-b75d-4c96b45f7543","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}