${function() {
const variantData = data.variant || {"id":"8ed552a9-8573-4384-9f4e-b4e2d7803682","product_id":"2d1df3d8-53d8-4d15-8a27-f25770130870","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102013540001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9fc81f709d1929294981268718c5958.jpeg","path":"b9fc81f709d1929294981268718c5958.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"16.98","retail_price":"25.98","available":true,"url":"\/products\/get-a-grip-print-mens-t-shirt?variant=8ed552a9-8573-4384-9f4e-b4e2d7803682","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":5};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
people are viewing this right now
${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.
${function(){
const variantData = data.variant || {"id":"8ed552a9-8573-4384-9f4e-b4e2d7803682","product_id":"2d1df3d8-53d8-4d15-8a27-f25770130870","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"102013540001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9fc81f709d1929294981268718c5958.jpeg","path":"b9fc81f709d1929294981268718c5958.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"16.98","retail_price":"25.98","available":true,"url":"\/products\/get-a-grip-print-mens-t-shirt?variant=8ed552a9-8573-4384-9f4e-b4e2d7803682","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}