${function() {
const variantData = data.variant || {"id":"897580cb-4570-46cf-a7a7-1df5c045d427","product_id":"7081b189-28ae-418f-b956-e3b35309d13e","title":"Small Mark-Black-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHgv4RkIF-SmallMark-Black-Adjustable","barcode":"","position":1,"option1":"Small Mark-Black","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae70facbca0ef7cf88079c4ce6920bd1.jpeg","path":"ae70facbca0ef7cf88079c4ce6920bd1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.89,"min_quantity":1}],"weight":"100","compare_at_price":"10","price":"9.89","retail_price":"10","available":true,"url":"\/products\/mens-sun-protection-canvas-visor-cap?variant=897580cb-4570-46cf-a7a7-1df5c045d427","available_quantity":999999999,"options":[{"name":"Color","value":"Small Mark-Black"},{"name":"Size","value":"Adjustable"}],"off_ratio":1,"flashsale_info":[],"sales":1};
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 : XHgv4RkIF-SmallMark-Black-Adjustable
Weight : 100g
${function(){
const variantData = data.variant || {"id":"897580cb-4570-46cf-a7a7-1df5c045d427","product_id":"7081b189-28ae-418f-b956-e3b35309d13e","title":"Small Mark-Black-Adjustable","weight_unit":"g","inventory_quantity":999,"sku":"XHgv4RkIF-SmallMark-Black-Adjustable","barcode":"","position":1,"option1":"Small Mark-Black","option2":"Adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae70facbca0ef7cf88079c4ce6920bd1.jpeg","path":"ae70facbca0ef7cf88079c4ce6920bd1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.89,"min_quantity":1}],"weight":"100","compare_at_price":"10","price":"9.89","retail_price":"10","available":true,"url":"\/products\/mens-sun-protection-canvas-visor-cap?variant=897580cb-4570-46cf-a7a7-1df5c045d427","available_quantity":999999999,"options":[{"name":"Color","value":"Small Mark-Black"},{"name":"Size","value":"Adjustable"}],"off_ratio":1,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}