注文の確認メールで発送不要商品にもメールを送りたい

ご返信ありがとうございます!分岐追加したいです。

該当のコードがあることはわかったのですが、どこに入れたらいいか判断できませんでした…

以下のような状況なのですが、どの場所に条件分岐を追加すれば良いでしょうか。

再度お教えいただけますと幸いです。何卒宜しくお願い致します。

■内容詳細■

{% capture email_title %} {% endcapture %}
{% capture email_body %}
{% if requires_shipping %}
{% case delivery_method %}
{% when ‘pick-up’ %}
注文の受取の準備が整うと、メールが届きます。
{% when ‘local’ %}
{{ customer.last_name }}{{ customer.first_name }}様、ご注文の品を配達する準備を行っております。

{% else %}
{% if order.transactions[0].gateway == “Bank Deposit” %}
{{ customer.last_name }}{{ customer.first_name }}様
// 中略(銀行振込の時の案内)

{% else %}
{{ customer.last_name }}{{ customer.first_name }}様

// 中略(銀行振込以外の案内)

{% endif %}
{% endcase %}