people are viewing this right now
${function() {
const variantData = data.variant || {"id":"8f2d2414-979e-41c0-8baa-270096225126","product_id":"ae7c3edd-43fd-4577-99ab-9a6c4753c782","title":"black-35","weight_unit":"kg","inventory_quantity":9998,"sku":"","barcode":"","position":1,"option1":"black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f16552820d35c2526e2b5d9e2b647861.jpeg","path":"f16552820d35c2526e2b5d9e2b647861.jpeg","width":1332,"height":2000,"alt":"","aspect_ratio":0.666},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":true,"url":"\/products\/heelsfashionable-three-dimensional-bow-strap-high-heelsheels?variant=8f2d2414-979e-41c0-8baa-270096225126","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"35"}],"off_ratio":0,"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":"8f2d2414-979e-41c0-8baa-270096225126","product_id":"ae7c3edd-43fd-4577-99ab-9a6c4753c782","title":"black-35","weight_unit":"kg","inventory_quantity":9998,"sku":"","barcode":"","position":1,"option1":"black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f16552820d35c2526e2b5d9e2b647861.jpeg","path":"f16552820d35c2526e2b5d9e2b647861.jpeg","width":1332,"height":2000,"alt":"","aspect_ratio":0.666},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":true,"url":"\/products\/heelsfashionable-three-dimensional-bow-strap-high-heelsheels?variant=8f2d2414-979e-41c0-8baa-270096225126","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"35"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}