${function() {
const variantData = data.variant || {"id":"555fe157-d9a1-4914-af09-1b4017e11d5b","product_id":"f671867d-c774-4c31-8942-74e7355e91ac","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHjCWLg9A-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/835ad3f14fec63bf78aae49fc96c2400.jpeg","path":"835ad3f14fec63bf78aae49fc96c2400.jpeg","width":528,"height":528,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.89,"min_quantity":1}],"weight":"400","compare_at_price":"59","price":"43.89","retail_price":"59","available":true,"url":"\/products\/fashionable-and-personalized-contrasting-color-street-style-jeans?variant=555fe157-d9a1-4914-af09-1b4017e11d5b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":26,"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 : XHjCWLg9A-Gray-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"555fe157-d9a1-4914-af09-1b4017e11d5b","product_id":"f671867d-c774-4c31-8942-74e7355e91ac","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHjCWLg9A-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/835ad3f14fec63bf78aae49fc96c2400.jpeg","path":"835ad3f14fec63bf78aae49fc96c2400.jpeg","width":528,"height":528,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.89,"min_quantity":1}],"weight":"400","compare_at_price":"59","price":"43.89","retail_price":"59","available":true,"url":"\/products\/fashionable-and-personalized-contrasting-color-street-style-jeans?variant=555fe157-d9a1-4914-af09-1b4017e11d5b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}