${function() {
const variantData = data.variant || {"id":"678ce036-ee21-4c01-8822-ab82353f370e","product_id":"e72e42ab-0013-42e8-a725-112395d6126c","title":"Black Gray-38","weight_unit":"g","inventory_quantity":9999,"sku":"XHNbw4qZS-BlackGray-38","barcode":"","position":1,"option1":"Black Gray","option2":"38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12edd7e34c11b1c3f2885673ef9d4549.jpeg","path":"12edd7e34c11b1c3f2885673ef9d4549.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"1000","compare_at_price":"99","price":"55.89","retail_price":"99","available":true,"url":"\/products\/ghost-casual-street-sports-design-trendy-shoes?variant=678ce036-ee21-4c01-8822-ab82353f370e","available_quantity":999999999,"options":[{"name":"Color","value":"Black Gray"},{"name":"Size","value":"38"}],"off_ratio":44,"flashsale_info":[],"sales":1};
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 : XHNbw4qZS-BlackGray-38
Weight : 1000g
${function(){
const variantData = data.variant || {"id":"678ce036-ee21-4c01-8822-ab82353f370e","product_id":"e72e42ab-0013-42e8-a725-112395d6126c","title":"Black Gray-38","weight_unit":"g","inventory_quantity":9999,"sku":"XHNbw4qZS-BlackGray-38","barcode":"","position":1,"option1":"Black Gray","option2":"38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12edd7e34c11b1c3f2885673ef9d4549.jpeg","path":"12edd7e34c11b1c3f2885673ef9d4549.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"1000","compare_at_price":"99","price":"55.89","retail_price":"99","available":true,"url":"\/products\/ghost-casual-street-sports-design-trendy-shoes?variant=678ce036-ee21-4c01-8822-ab82353f370e","available_quantity":999999999,"options":[{"name":"Color","value":"Black Gray"},{"name":"Size","value":"38"}],"off_ratio":44,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}