${function() {
const variantData = data.variant || {"id":"12027455-579b-4b26-85ee-182d74a584e0","product_id":"4d768300-1896-4725-a204-91c08d7930af","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHKQOmKbh-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7973cbb5d06c6e4f901883dff4e78ec.jpeg","path":"c7973cbb5d06c6e4f901883dff4e78ec.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"180","compare_at_price":"29","price":"22.89","retail_price":"29","available":true,"url":"\/products\/cartoon-personality-trend-casual-retro-fashion-shorts?variant=12027455-579b-4b26-85ee-182d74a584e0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":2};
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 : XHKQOmKbh-Black-S
Weight : 180g
${function(){
const variantData = data.variant || {"id":"12027455-579b-4b26-85ee-182d74a584e0","product_id":"4d768300-1896-4725-a204-91c08d7930af","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHKQOmKbh-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7973cbb5d06c6e4f901883dff4e78ec.jpeg","path":"c7973cbb5d06c6e4f901883dff4e78ec.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"180","compare_at_price":"29","price":"22.89","retail_price":"29","available":true,"url":"\/products\/cartoon-personality-trend-casual-retro-fashion-shorts?variant=12027455-579b-4b26-85ee-182d74a584e0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}