${function() {
const variantData = data.variant || {"id":"020beca6-76d4-47aa-84a6-c6b5c250cb6a","product_id":"c89d6431-2e0e-4400-ba2c-f1302433e0b5","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHXIdfluT-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d0099f3490528d1ccae2b116b2adb56.jpeg","path":"5d0099f3490528d1ccae2b116b2adb56.jpeg","width":3672,"height":3672,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.89,"min_quantity":1}],"weight":"400","compare_at_price":"42","price":"28.89","retail_price":"42","available":true,"url":"\/products\/trendy-street-style-printed-flared-pants?variant=020beca6-76d4-47aa-84a6-c6b5c250cb6a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"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 : XHXIdfluT-Black-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"020beca6-76d4-47aa-84a6-c6b5c250cb6a","product_id":"c89d6431-2e0e-4400-ba2c-f1302433e0b5","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHXIdfluT-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d0099f3490528d1ccae2b116b2adb56.jpeg","path":"5d0099f3490528d1ccae2b116b2adb56.jpeg","width":3672,"height":3672,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.89,"min_quantity":1}],"weight":"400","compare_at_price":"42","price":"28.89","retail_price":"42","available":true,"url":"\/products\/trendy-street-style-printed-flared-pants?variant=020beca6-76d4-47aa-84a6-c6b5c250cb6a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}