${function() {
const variantData = data.variant || {"id":"df12448f-9f6f-4c0d-b285-e6afc0057a82","product_id":"5f8c4904-98f8-49c9-87cd-933784e6aba8","title":"Ash Green-36","weight_unit":"g","inventory_quantity":999,"sku":"XHVPKCGUX-AshGreen-36","barcode":"","position":1,"option1":"Ash Green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d491bf696458b275d4e40a5d704de75.jpeg","path":"9d491bf696458b275d4e40a5d704de75.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"1000","compare_at_price":"77","price":"40.89","retail_price":"77","available":true,"url":"\/products\/jumping-stars-casual-street-skateboard-shoes?variant=df12448f-9f6f-4c0d-b285-e6afc0057a82","available_quantity":999999999,"options":[{"name":"Color","value":"Ash Green"},{"name":"Size","value":"36"}],"off_ratio":47,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : XHVPKCGUX-AshGreen-36
Weight : 1000g
${function(){
const variantData = data.variant || {"id":"df12448f-9f6f-4c0d-b285-e6afc0057a82","product_id":"5f8c4904-98f8-49c9-87cd-933784e6aba8","title":"Ash Green-36","weight_unit":"g","inventory_quantity":999,"sku":"XHVPKCGUX-AshGreen-36","barcode":"","position":1,"option1":"Ash Green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d491bf696458b275d4e40a5d704de75.jpeg","path":"9d491bf696458b275d4e40a5d704de75.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.89,"min_quantity":1}],"weight":"1000","compare_at_price":"77","price":"40.89","retail_price":"77","available":true,"url":"\/products\/jumping-stars-casual-street-skateboard-shoes?variant=df12448f-9f6f-4c0d-b285-e6afc0057a82","available_quantity":999999999,"options":[{"name":"Color","value":"Ash Green"},{"name":"Size","value":"36"}],"off_ratio":47,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}