${function() {
const variantData = data.variant || {"id":"3a3f6fdb-3e4b-436c-91cc-6157440f8cc9","product_id":"a7e0c3be-1901-46f7-acf5-8a075287eacc","title":"Black-Ivory-S","weight_unit":"g","inventory_quantity":0,"sku":"2211161787-Black-Ivory-S","barcode":"","position":1,"option1":"Black-Ivory","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9de661f3309bc72e340d196e9557c98.png","path":"b9de661f3309bc72e340d196e9557c98.png","width":1000,"height":1300,"alt":"Dance Skull Halloween Shirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":35.97,"min_quantity":1}],"weight":"350","compare_at_price":"41.12","price":"35.97","retail_price":"41.12","available":true,"url":"\/products\/dance-skull-halloween-shirt?variant=3a3f6fdb-3e4b-436c-91cc-6157440f8cc9","available_quantity":999999999,"options":[{"name":"Color","value":"Black-Ivory"},{"name":"Size","value":"S"}],"off_ratio":13,"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}
`
}()}
Product was out of stock.
Product is unavailable.