${function() {
const variantData = data.variant || {"id":"1bffd4ae-4925-4bae-a47c-ef1299031865","product_id":"c1384ea6-1091-4fe3-959c-63c94fbb7ffb","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHtdX4ieE-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65e8f2285798a1f054d57182a8dc265a.jpeg","path":"65e8f2285798a1f054d57182a8dc265a.jpeg","width":1490,"height":1490,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"600","compare_at_price":"50","price":"40.89","retail_price":"50","available":true,"url":"\/products\/trendy-brand-pattern-fashion-street-sports-jackets?variant=1bffd4ae-4925-4bae-a47c-ef1299031865","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"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 : XHtdX4ieE-Black-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"1bffd4ae-4925-4bae-a47c-ef1299031865","product_id":"c1384ea6-1091-4fe3-959c-63c94fbb7ffb","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHtdX4ieE-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65e8f2285798a1f054d57182a8dc265a.jpeg","path":"65e8f2285798a1f054d57182a8dc265a.jpeg","width":1490,"height":1490,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"600","compare_at_price":"50","price":"40.89","retail_price":"50","available":true,"url":"\/products\/trendy-brand-pattern-fashion-street-sports-jackets?variant=1bffd4ae-4925-4bae-a47c-ef1299031865","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}