${function() {
const variantData = data.variant || {"id":"ef3fba64-a46c-4a1a-b835-0b6ff39d2f14","product_id":"47e29b1e-d1a2-4146-9b7c-41765ca18085","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHzYmcaZ7-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b55726d23fe3f562ce1c6d59efd78fec.jpeg","path":"b55726d23fe3f562ce1c6d59efd78fec.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"26.89","retail_price":"66","available":true,"url":"\/products\/love-is-poison-printed-casual-street-hoodie?variant=ef3fba64-a46c-4a1a-b835-0b6ff39d2f14","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":59,"flashsale_info":[],"sales":86};
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 : XHzYmcaZ7-Black-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"ef3fba64-a46c-4a1a-b835-0b6ff39d2f14","product_id":"47e29b1e-d1a2-4146-9b7c-41765ca18085","title":"Black-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHzYmcaZ7-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b55726d23fe3f562ce1c6d59efd78fec.jpeg","path":"b55726d23fe3f562ce1c6d59efd78fec.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.89,"min_quantity":1}],"weight":"666","compare_at_price":"66","price":"26.89","retail_price":"66","available":true,"url":"\/products\/love-is-poison-printed-casual-street-hoodie?variant=ef3fba64-a46c-4a1a-b835-0b6ff39d2f14","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":59,"flashsale_info":[],"sales":86};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}