${function() {
const variantData = data.variant || {"id":"7fc4ff9c-d680-4bd7-a5bd-603eb0745439","product_id":"b3d64d0d-5a77-4ec9-b0d8-3a69d2fbcd27","title":"Brown-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHGeVlNxB-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5dddcc7d0e1310f5f3b395bb7b9ee91a.jpeg","path":"5dddcc7d0e1310f5f3b395bb7b9ee91a.jpeg","width":1794,"height":1794,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"38.89","retail_price":"88","available":true,"url":"\/products\/cross-patch-casual-street-denim-2mq5?variant=7fc4ff9c-d680-4bd7-a5bd-603eb0745439","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":56,"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 : XHGeVlNxB-Brown-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"7fc4ff9c-d680-4bd7-a5bd-603eb0745439","product_id":"b3d64d0d-5a77-4ec9-b0d8-3a69d2fbcd27","title":"Brown-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHGeVlNxB-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5dddcc7d0e1310f5f3b395bb7b9ee91a.jpeg","path":"5dddcc7d0e1310f5f3b395bb7b9ee91a.jpeg","width":1794,"height":1794,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"38.89","retail_price":"88","available":true,"url":"\/products\/cross-patch-casual-street-denim-2mq5?variant=7fc4ff9c-d680-4bd7-a5bd-603eb0745439","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":56,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}