${function() {
const variantData = data.variant || {"id":"eac66ba0-c88c-4d8d-9ff8-8148b86efeec","product_id":"8db5e5e7-6d49-45db-be4d-9c0f6119baaa","title":"S-White","weight_unit":"kg","inventory_quantity":1000,"sku":"00013401-S-White","barcode":"","position":3,"option1":"S","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/78e1e2cd01d9c1943e573f18dfd83a50.jpg","path":"78e1e2cd01d9c1943e573f18dfd83a50.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.98","price":"39.99","retail_price":"48.98","available":true,"url":"\/products\/mythological-goddess-mermaid-mens-print-sweatpants?variant=eac66ba0-c88c-4d8d-9ff8-8148b86efeec","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":18,"flashsale_info":[],"sales":1};
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":"eac66ba0-c88c-4d8d-9ff8-8148b86efeec","product_id":"8db5e5e7-6d49-45db-be4d-9c0f6119baaa","title":"S-White","weight_unit":"kg","inventory_quantity":1000,"sku":"00013401-S-White","barcode":"","position":3,"option1":"S","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/78e1e2cd01d9c1943e573f18dfd83a50.jpg","path":"78e1e2cd01d9c1943e573f18dfd83a50.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.98","price":"39.99","retail_price":"48.98","available":true,"url":"\/products\/mythological-goddess-mermaid-mens-print-sweatpants?variant=eac66ba0-c88c-4d8d-9ff8-8148b86efeec","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":18,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}