people are viewing this right now
${function() {
const variantData = data.variant || {"id":"e39d7c43-c8eb-41b0-8023-772895cf3d37","product_id":"de356e27-c23a-4d92-b9de-f6e717d3f173","title":"Black-S","weight_unit":"lb","inventory_quantity":1000,"sku":"YN1854524-\u00ba\u00da\u026bS","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d87b8f72e5e2951bc68b504c350553f.jpeg","path":"5d87b8f72e5e2951bc68b504c350553f.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"72.27","price":"39.99","retail_price":"72.27","available":true,"url":"\/products\/knitted-backless-dress?variant=e39d7c43-c8eb-41b0-8023-772895cf3d37","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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.
${function(){
const variantData = data.variant || {"id":"e39d7c43-c8eb-41b0-8023-772895cf3d37","product_id":"de356e27-c23a-4d92-b9de-f6e717d3f173","title":"Black-S","weight_unit":"lb","inventory_quantity":1000,"sku":"YN1854524-\u00ba\u00da\u026bS","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d87b8f72e5e2951bc68b504c350553f.jpeg","path":"5d87b8f72e5e2951bc68b504c350553f.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"72.27","price":"39.99","retail_price":"72.27","available":true,"url":"\/products\/knitted-backless-dress?variant=e39d7c43-c8eb-41b0-8023-772895cf3d37","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}