${function() {
const variantData = data.variant || {"id":"0508901c-acbf-4658-a5de-b78a85ab3c6d","product_id":"c6219c4b-536f-4b8c-abec-1831c0a4a04b","title":"XS-Green-without copybook","weight_unit":"kg","inventory_quantity":1000,"sku":"PHFD-Green-XS-without-copybook","barcode":"","position":2,"option1":"XS","option2":"Green","option3":"without copybook","note":"","image":{"src":"\/\/img.staticdj.com\/bfc5db7205fcff4ce72c89eb9a16e6bb.jpeg","path":"bfc5db7205fcff4ce72c89eb9a16e6bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/personalized-pet-breathable-traction-rope-chest-harness-customized-dog-vest-type-dog-rope-k9-chest-harness?variant=0508901c-acbf-4658-a5de-b78a85ab3c6d","available_quantity":999999999,"options":[{"name":"Size","value":"XS"},{"name":"Color","value":"Green"},{"name":"Type","value":"without copybook"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.