${function() {
const variantData = data.variant || {"id":"67ca4119-8646-4615-a28b-eed9bb286359","product_id":"36366fb2-8f69-47b5-bd99-ee549ffb0905","title":"Black-S","weight_unit":"kg","inventory_quantity":998,"sku":"100735770009","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44a137ab6ea1d2e9c2e8cedaf4fb360a.jpeg","path":"44a137ab6ea1d2e9c2e8cedaf4fb360a.jpeg","width":3000,"height":3000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.98","price":"15.98","retail_price":"24.98","available":true,"url":"\/products\/horrible-joker-t-shirt-designer?variant=67ca4119-8646-4615-a28b-eed9bb286359","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":73};
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":"67ca4119-8646-4615-a28b-eed9bb286359","product_id":"36366fb2-8f69-47b5-bd99-ee549ffb0905","title":"Black-S","weight_unit":"kg","inventory_quantity":998,"sku":"100735770009","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44a137ab6ea1d2e9c2e8cedaf4fb360a.jpeg","path":"44a137ab6ea1d2e9c2e8cedaf4fb360a.jpeg","width":3000,"height":3000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"0","compare_at_price":"24.98","price":"15.98","retail_price":"24.98","available":true,"url":"\/products\/horrible-joker-t-shirt-designer?variant=67ca4119-8646-4615-a28b-eed9bb286359","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":73};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}