lib/atpay/button/templates/default.liquid in atpay_buttons-1.2.1 vs lib/atpay/button/templates/default.liquid in atpay_buttons-1.3.0
- old
+ new
@@ -24,14 +24,16 @@
</tr>
</table>
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
<tr>
- <td class='cart'>
- <a href='{{outlook_url}}' style='display:none;' target="_blank">
- <img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
- </a>
- </td>
+ {% if image %}
+ <td class='cart'>
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
+ <img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
+ </a>
+ </td>
+ {% endif %}
<td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
<a href='{{outlook_url}}' style='display:none;' target="_blank">
{{dollar}}
</a>
</td>
\ No newline at end of file