${function() {
const variantData = data.variant || {"id":"0077af97-40b2-48da-8ffe-5397226dbdce","product_id":"f498bf2b-a3a7-493b-9e18-8f2c36b1afbf","title":"Black-35","weight_unit":"kg","inventory_quantity":1000,"sku":"SH46089-C001-S035","barcode":"","position":1,"option1":"Black","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/778c6ebc19b3430b0e77c3a18ec10429.jpeg","path":"778c6ebc19b3430b0e77c3a18ec10429.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/soft-sole-breathable-women-s-shoes?variant=0077af97-40b2-48da-8ffe-5397226dbdce","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}}";
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.