${function() {
const variantData = data.variant || {"id":"f5c64076-2e53-49b8-8d2e-5c37230f3062","product_id":"8ee9fbc5-80f2-47dc-8813-ff50ba2b2bee","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHPqGgwvh-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/524cefbbdc0f375be326516b2c7f4b78.jpeg","path":"524cefbbdc0f375be326516b2c7f4b78.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"700","compare_at_price":"78","price":"54.89","retail_price":"78","available":true,"url":"\/products\/trendy-tassel-raw-edge-slim-fit-washed-bootcut-jeans?variant=f5c64076-2e53-49b8-8d2e-5c37230f3062","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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 : XHPqGgwvh-Black-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"f5c64076-2e53-49b8-8d2e-5c37230f3062","product_id":"8ee9fbc5-80f2-47dc-8813-ff50ba2b2bee","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHPqGgwvh-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/524cefbbdc0f375be326516b2c7f4b78.jpeg","path":"524cefbbdc0f375be326516b2c7f4b78.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.89,"min_quantity":1}],"weight":"700","compare_at_price":"78","price":"54.89","retail_price":"78","available":true,"url":"\/products\/trendy-tassel-raw-edge-slim-fit-washed-bootcut-jeans?variant=f5c64076-2e53-49b8-8d2e-5c37230f3062","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}