${function() {
const variantData = data.variant || {"id":"5f32780c-f474-4937-b934-fc34822d26f1","product_id":"c8b472b6-9d1e-4c69-9852-96229dadfe10","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHucreNdS-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fb69fe1c9429f7e58f48377d2721a66.jpeg","path":"6fb69fe1c9429f7e58f48377d2721a66.jpeg","width":1708,"height":1708,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/elevated-casual-star-print-pocket-flared-trousers?variant=5f32780c-f474-4937-b934-fc34822d26f1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
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 : XHucreNdS-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"5f32780c-f474-4937-b934-fc34822d26f1","product_id":"c8b472b6-9d1e-4c69-9852-96229dadfe10","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHucreNdS-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fb69fe1c9429f7e58f48377d2721a66.jpeg","path":"6fb69fe1c9429f7e58f48377d2721a66.jpeg","width":1708,"height":1708,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"29.89","retail_price":"39","available":true,"url":"\/products\/elevated-casual-star-print-pocket-flared-trousers?variant=5f32780c-f474-4937-b934-fc34822d26f1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}