${function() {
const variantData = data.variant || {"id":"cd04e739-bed0-4b53-a81e-6ddaa54bbfb3","product_id":"4198fbcd-54f0-4c03-ae89-bd4c4313d1ff","title":"Black And White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8dXJcUB-BlackAndWhite-S","barcode":"","position":1,"option1":"Black And White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/503cebc355c208aca48df4c99a224966.jpeg","path":"503cebc355c208aca48df4c99a224966.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"222","compare_at_price":"55","price":"30.89","retail_price":"55","available":true,"url":"\/products\/double-face-los-angeles-street-basketball-mesh-shorts?variant=cd04e739-bed0-4b53-a81e-6ddaa54bbfb3","available_quantity":999999999,"options":[{"name":"Color","value":"Black And White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
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 : XH8dXJcUB-BlackAndWhite-S
Weight : 222g
${function(){
const variantData = data.variant || {"id":"cd04e739-bed0-4b53-a81e-6ddaa54bbfb3","product_id":"4198fbcd-54f0-4c03-ae89-bd4c4313d1ff","title":"Black And White-S","weight_unit":"g","inventory_quantity":9999,"sku":"XH8dXJcUB-BlackAndWhite-S","barcode":"","position":1,"option1":"Black And White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/503cebc355c208aca48df4c99a224966.jpeg","path":"503cebc355c208aca48df4c99a224966.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"222","compare_at_price":"55","price":"30.89","retail_price":"55","available":true,"url":"\/products\/double-face-los-angeles-street-basketball-mesh-shorts?variant=cd04e739-bed0-4b53-a81e-6ddaa54bbfb3","available_quantity":999999999,"options":[{"name":"Color","value":"Black And White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}