${function() {
const variantData = data.variant || {"id":"2bd6e1d7-e7a4-4e26-aff4-466bad0f6216","product_id":"ca33c490-d25b-43d5-93c2-d12eb941a246","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHBSsWb3Q-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28fb1b017b5847ca84293de6aa19aa7e.jpeg","path":"28fb1b017b5847ca84293de6aa19aa7e.jpeg","width":2766,"height":2765,"alt":"","aspect_ratio":1.000361663652803},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"600","compare_at_price":"65","price":"44.89","retail_price":"65","available":true,"url":"\/products\/trendy-retro-personalized-printed-jeans?variant=2bd6e1d7-e7a4-4e26-aff4-466bad0f6216","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":4};
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 : XHBSsWb3Q-Green-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"2bd6e1d7-e7a4-4e26-aff4-466bad0f6216","product_id":"ca33c490-d25b-43d5-93c2-d12eb941a246","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHBSsWb3Q-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28fb1b017b5847ca84293de6aa19aa7e.jpeg","path":"28fb1b017b5847ca84293de6aa19aa7e.jpeg","width":2766,"height":2765,"alt":"","aspect_ratio":1.000361663652803},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"600","compare_at_price":"65","price":"44.89","retail_price":"65","available":true,"url":"\/products\/trendy-retro-personalized-printed-jeans?variant=2bd6e1d7-e7a4-4e26-aff4-466bad0f6216","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}