${function() {
const variantData = data.variant || {"id":"bdefce4e-6e69-46d2-b3f8-1fcc8fda91de","product_id":"4405ff7d-8261-4842-ae7b-a608a64915ca","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHyjIopNq-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33df1008672806450ee71bd604e04d03.jpeg","path":"33df1008672806450ee71bd604e04d03.jpeg","width":1168,"height":1168,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"550","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/fashion-personality-street-style-baseball-jacket?variant=bdefce4e-6e69-46d2-b3f8-1fcc8fda91de","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":25,"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 : XHyjIopNq-Black-S
Weight : 550g
${function(){
const variantData = data.variant || {"id":"bdefce4e-6e69-46d2-b3f8-1fcc8fda91de","product_id":"4405ff7d-8261-4842-ae7b-a608a64915ca","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHyjIopNq-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33df1008672806450ee71bd604e04d03.jpeg","path":"33df1008672806450ee71bd604e04d03.jpeg","width":1168,"height":1168,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.89,"min_quantity":1}],"weight":"550","compare_at_price":"65","price":"48.89","retail_price":"65","available":true,"url":"\/products\/fashion-personality-street-style-baseball-jacket?variant=bdefce4e-6e69-46d2-b3f8-1fcc8fda91de","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}