“I want to modify my order confirmation email. Specifically, in the quantity section, if it exceeds 5000, I want the quantity field to be blank. However, if it is below 5000, I want it to be displayed normally. I tried adding an if-else condition, but it didn’t work for me. I need this modification because I use a product customizer app that multiplies the personalization amount by 0.01 INR x the total amount. As a result, the quantity in the order confirmation is 50000 if the personalization amount is 500 INR. However, I did not do this in the product customizer app, so I just edited the email confirmation to ensure that the order slip does not look unusual.”
<td align="center" valign="top" style="border-right: 1px solid #979797; border-bottom: 1px solid #979797; padding:10px">{{ line.quantity }}</td>
{% assign pqty = line.quantity %}
{% if pqty > 5000 %}
{% assign pqty = "" %}
{% endif %}
