Return request approved

Sent by Shopify to the customer when you approve a return request. Return shipping information is included (if applicable).

تمت الموافقة على طلب الإرجاع للطلب {{ order.name }}
<!DOCTYPE html>
<html lang="ar">
{%- assign return_delivery_first = return.deliveries | first -%}
{%- assign public_file_url = return_delivery_first.return_label.public_file_url -%}
{%- assign has_label_attached = public_file_url != blank and public_file_url.size > 0 -%}
{%- assign has_tracking_number = return_delivery_first.tracking_number -%}
{% if order.customer_order_url %}
  {%- assign order_details_url = order.customer_order_url -%}
{% else %}
  {%- assign order_details_url = order.order_status_url -%}
{% endif %}
<head>
  <title>{{ email_title }}</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
  <style>
    /*
     * Arabic Shopify Notifications - By Enfitah - www.enfitah.com
     */
    
    body {
        direction: rtl
    }
    
    .container {
        text-align: right;
    }
    
    .actions {
        margin-top: 20px
    }
    
    .main-action-cell {
        float: right;
        margin-left: 15px;
        margin-right: unset
    }
    
    @media (max-width: 600px) {
        .main-action-cell {
            margin-left: 0 !important;
            margin-right: unset !important;
        }
    }
    
    .text-icon {
        padding-left: 8px;
        padding-right: unset
    }
    
    .order-number__cell {
        text-align: left;
    }
    
    @media (max-width: 600px) {
        .order-number__cell {
            text-align: right !important;
        }
    }
    
    .or {
        margin-left: 10px;
        margin-right: unset;
    }
    
    @media (max-width: 600px) {
        .or {
            margin-left: 0 !important;
            margin-right: unset !important;
        }
    }
    
    .customer-info__item-credit {
        margin-left: 10px;
        margin-right: unset;
    }
    
    .order-list__product-image {
        margin-left: 15px;
        margin-right: unset;
    }
    
    .order-list__item-original-price {
        text-align: left;
    }
    
    .order-list__item-price {
        text-align: left;
        margin-right: 15px;
        margin-left: unset;
    }
    
    .subtotal-line__value {
        text-align: left
    }
        .button__cell { background: {{ shop.email_accent_color }}; }
        a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
    </style>
</head>

<body>
  <table class="body">
    <tr>
      <td>
        <table class="header row">
  <tr>
    <td class="header__cell">
      <center>

        <table class="container">
          <tr>
            <td>

              <table class="row">
                <tr>
                  <td class="shop-name__cell">
                    {%- if shop.email_logo_url %}
                      <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" width="{{ shop.email_logo_width }}">
                    {%- else %}
                      <h1 class="shop-name__text">
                        <a href="{{shop.url}}">{{ shop.name }}</a>
                      </h1>
                    {%- endif %}
                  </td>

                    <td>
                      <table class="order-po-number__container">
                        <tr>
                          <td class="order-number__cell">
                            <span class="order-number__text">
                              الطلب {{ order.name }}
                            </span>
                          </td>
                        </tr>
                        {%- if po_number %}
                            <tr>
                              <td class="po-number__cell">
                                <span class="po-number__text">
                                  رقم أمر الشراء #{{ po_number }}
                                </span>
                              </td>
                            </tr>
                        {%- endif %}
                      </table>
                    </td>
                </tr>
              </table>

            </td>
          </tr>
        </table>

      </center>
    </td>
  </tr>
</table>

        <table class="row content">
  <tr>
    <td class="content__cell">
      <center>
        <table class="container">
          <tr>
            <td>
              
          <h2>تمت الموافقة على طلب الإرجاع الخاص بك</h2>
          <p class="return-approved__body">
            {% if return_delivery_first %}
              {% if has_label_attached %}
                قم بطباعة ملصق شحن الإرجاع وإلصاقه على الطرد الذي يحتوي على المنتجات المراد إرجاعها.
              {% else %}
                {% if return_delivery_first.type == 'shopify_label' and return.order_total_outstanding > 0 %}
                  تمت الموافقة على طلب الإرجاع الخاص بك وهناك رصيد مستحق. قم بدفع الرصيد المستحق، وبمجرد استلام ملصق شحن الإرجاع، اتبع التعليمات لإكمال عملية الإرجاع.
                {% else %}
                  لقد أرسلنا إليك ملصق شحن للإرجاع، أو ستستلمه قريبًا. بمجرد استلامك لملصق شحن الإرجاع، اتبع التعليمات لإكمال عملية الإرجاع.
                {% endif %}
              {% endif %}
            {% else %}
              سنرسل إليك معلومات إضافية لإكمال عملية الإرجاع.
            {% endif %}
          </p>

          {% if has_label_attached or has_tracking_number %}
            <table class="row section">
  <tr>
    <td class="section__cell">
      <center>
        <table class="container">
          <tr>
            <td>
              <h3>التعليمات</h3>
            </td>
          </tr>
        </table>
        <table class="container">
          <tr>
            <td>
              
              <ol class="return-approved__instructions">
                <li class="return-approved__instruction-step">قم بتغليف المنتجات التي تريد إرجاعها.</li>
                {% if return.checkout_payment_collection_url %}
                  <li class="return-approved__instruction-step">ادفع الرصيد المستحق.</li>
                {% endif %}
                <li class="return-approved__instruction-step">اطبع ملصق الإرجاع وألصقه على الطرد. قم بتغطية أو إزالة أي ملصقات شحن قديمة.</li>
                <li class="return-approved__instruction-step">
                  {% if return_delivery_first.carrier_name %}
                    سلم الطرد إلى {{ return_delivery_first.carrier_name }}.
                  {% else %}
                    سلم الطرد إلى شركة الشحن المحددة على الملصق.
                  {% endif %}
                </li>
                {% if has_tracking_number %}
                  <li class="return-approved__instruction-step">تتبع إرجاعك للتأكد من وصوله إلينا.</li>
                {% endif %}
              </ol>
              {% if has_tracking_number %}
                <p class="return-approved__tracking-number">
                  {% if return_delivery_first.carrier_name %}
                      رقم التتبع {{ return_delivery_first.carrier_name }}: <a target="_blank" href="{{ return_delivery_first.tracking_url) }}">{{ return_delivery_first.tracking_number) }}</a>
                  {% else %}
                      رقم التتبع: <a target="_blank" href="{{ return_delivery_first.tracking_url) }}">{{ return_delivery_first.tracking_number) }}</a>
                  {% endif %}
                </p>
              {% endif %}

            </td>
          </tr>
        </table>
      </center>
    </td>
  </tr>
</table>
          {% endif %}

          {% if has_label_attached %}
            {% capture url_primary %}{{ public_file_url }}{% endcapture %}
{% capture text_primary %}طباعة ملصق الإرجاع{% endcapture %}
{% capture url_secondary %}{{ return.checkout_payment_collection_url }}{% endcapture %}
{% capture text_secondary %}الدفع الآن{% endcapture %}

<table class="row actions">
  <tr>
    <td class="empty-line">&nbsp;</td>
  </tr>
  <tr>
    <td class="actions__cell">
      {% if url_primary != blank or url_secondary != blank %}
        {% if url_primary != blank %}
      <table class="button main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ url_primary }}" class="button__text">{{ text_primary }}</a>
          </td>
        </tr>
      </table>
        {% endif %}
        {% if url_secondary != blank %}
      <table class="button return__mobile-padding main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ url_secondary }}" class="button__text return__main-button">{{ text_secondary }}</a>
          </td>
        </tr>
      </table>
        {% endif %}
      <table class="link secondary-action-cell">
        <tr>
          <td class="link__cell">أو <a target="_blank" href="{{ order.order_status_url }}">عرض طلبك</a></td>
        </tr>
      </table>
      {% else %}
      <table class="button main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ order.order_status_url }}" class="button__text">عرض طلبك</a>
          </td>
        </tr>
      </table>
      {% endif %}
    </td>
  </tr>
</table>


          {% else %}
            {% capture url_primary %}{{ return.checkout_payment_collection_url }}{% endcapture %}
{% capture text_primary %}الدفع الآن{% endcapture %}
{% capture url_secondary %}{% endcapture %}
{% capture text_secondary %}{% endcapture %}

<table class="row actions">
  <tr>
    <td class="empty-line">&nbsp;</td>
  </tr>
  <tr>
    <td class="actions__cell">
      {% if url_primary != blank or url_secondary != blank %}
        {% if url_primary != blank %}
      <table class="button main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ url_primary }}" class="button__text">{{ text_primary }}</a>
          </td>
        </tr>
      </table>
        {% endif %}
        {% if url_secondary != blank %}
      <table class="button return__mobile-padding main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ url_secondary }}" class="button__text return__main-button">{{ text_secondary }}</a>
          </td>
        </tr>
      </table>
        {% endif %}
      <table class="link secondary-action-cell">
        <tr>
          <td class="link__cell">أو <a target="_blank" href="{{ order.order_status_url }}">عرض طلبك</a></td>
        </tr>
      </table>
      {% else %}
      <table class="button main-action-cell">
        <tr>
          <td class="button__cell">
            <a href="{{ order.order_status_url }}" class="button__text">عرض طلبك</a>
          </td>
        </tr>
      </table>
      {% endif %}
    </td>
  </tr>
</table>


          {% endif %}

            </td>
          </tr>
        </table>
      </center>
    </td>
  </tr>
</table>

        {%- if return.line_items.size > 0 -%}
          <table class="row section">
  <tr>
    <td class="section__cell">
      <center>
        <table class="container">
          <tr>
            <td>
              <h3>المنتجات المراد إرجاعها</h3>
            </td>
          </tr>
        </table>
        <table class="container">
          <tr>
            <td>
              
            
<table class="row">
  {% for line_item in return.line_items %}
  <tr class="order-list__item">
    <td class="order-list__item__cell">
      <table>
        <td>
          {% if line_item.image %}
            <img src="{{ line_item | img_url: 'compact_cropped' }}" align="right" width="60" height="60" class="order-list__product-image"/>
          {% endif %}
        </td>
        <td class="order-list__product-description-cell">
          {% assign line_display = line_item.quantity  %}

          <span class="order-list__item-title">{{ line_item.title_without_variant }}&nbsp;&times;&nbsp;{{ line_display }}</span><br/>

          {% if line_item.variant.title != 'Default Title' %}
            <span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
          {% endif %}

          {% if line_item.discount_allocations %}
            {% for discount_allocation in line_item.discount_allocations %}
              {% if discount_allocation.amount > 0 %}
              <p>
                <span class="order-list__item-discount-allocation">
                  <img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
                  <span>
                    {{ discount_allocation.discount_application.title | upcase }}
                    (-{{ discount_allocation.amount | money }})
                  </span>
                </span>
              </p>
              {% endif %}
            {% endfor %}
          {% endif %}
        </td>

        <td class="order-list__price-cell">
          {% if line_item.original_line_price != line_item.final_line_price %}
            <del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
          {% endif %}
          <p class="order-list__item-price">
            {% if line_item.final_line_price > 0 %}
              {% capture final_line_price %}
                  {{ line_item.final_line_price | money }}
              {% endcapture %}
              {{ final_line_price }}
            {% else %}
              مجاناً
            {% endif %}
          </p>
        </td>
      </table>
    </td>
  </tr>
  {% endfor %}
</table>


            </td>
          </tr>
        </table>
      </center>
    </td>
  </tr>
</table>
        {%- endif -%}

        {%- if return.exchange_line_items.size > 0 -%}
          <table class="row section">
  <tr>
    <td class="section__cell">
      <center>
        <table class="container">
          <tr>
            <td>
              <h3>المنتجات التي ستستلمها</h3>
            </td>
          </tr>
        </table>
        <table class="container">
          <tr>
            <td>
              
            
<table class="row">
  {% for line_item in return.exchange_line_items %}
  <tr class="order-list__item">
    <td class="order-list__item__cell">
      <table>
        <td>
          {% if line_item.image %}
            <img src="{{ line_item | img_url: 'compact_cropped' }}" align="right" width="60" height="60" class="order-list__product-image"/>
          {% endif %}
        </td>
        <td class="order-list__product-description-cell">
          {% assign line_display = line_item.quantity  %}

          <span class="order-list__item-title">{{ line_item.title_without_variant }}&nbsp;&times;&nbsp;{{ line_display }}</span><br/>

          {% if line_item.variant.title != 'Default Title' %}
            <span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
            {% endif %}
  
            {% if line_item.discount_allocations %}
              {% for discount_allocation in line_item.discount_allocations %}
                {% if discount_allocation.amount > 0 %}
                <p>
                  <span class="order-list__item-discount-allocation">
                    <img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
                    <span>
                      {{ discount_allocation.discount_application.title | upcase }}
                      (-{{ discount_allocation.amount | money }})
                    </span>
                  </span>
                </p>
                {% endif %}
              {% endfor %}
            {% endif %}
          </td>
  
          <td class="order-list__price-cell">
            {% if line_item.original_line_price != line_item.final_line_price %}
              <del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
            {% endif %}
            <p class="order-list__item-price">
              {% if line_item.final_line_price > 0 %}
                {% capture final_line_price %}
                    {{ line_item.final_line_price | money }}
                {% endcapture %}
                {{ final_line_price }}
              {% else %}
                مجاناً
              {% endif %}
            </p>
          </td>
        </table>
      </td>
    </tr>
    {% endfor %}
  </table>
  
  
              </td>
            </tr>
          </table>
        </center>
      </td>
    </tr>
  </table>
          {%- endif -%}
  
          <table class="row content">
    <tr>
      <td class="content__cell">
        <center>
          <table class="container">
            <tr>
              <td>
                
            <table class="row subtotal-lines">
    <tr>
      <td class="subtotal-spacer"></td>
      <td>
        <table class="row subtotal-table">
  
          {% capture line_items_subtotal_price %}
            {% if return.line_items_subtotal_price < 0 %}
              -{{ return.line_items_subtotal_price  | abs | money }}
            {% else %}
              {{ return.line_items_subtotal_price | money }}
            {% endif %}
          {% endcapture %}
  
          
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>المجموع الفرعي</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ line_items_subtotal_price }}</strong>
    </td>
  </tr>
  
  
          {% assign fees = return.fees %}
          {% for fee in fees %}
    
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>{{ fee.title }}</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ fee.subtotal | money }}</strong>
    </td>
  </tr>
  
  {% endfor %}
  
  
          {% if return.total_tax_price %}
            {% capture total_tax_price %}
              {% if return.total_tax_price < 0 %}
                -{{ return.total_tax_price | abs | money }}
              {% else %}
                {{ return.total_tax_price | money }}
              {% endif %}
            {% endcapture %}
            
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>الضرائب المقدرة</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ total_tax_price }}</strong>
    </td>
  </tr>
  
          {% endif %}
  
          {%  if return.pre_return_order_total_outstanding && return.pre_return_order_total_outstanding != 0 %}
            
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>الرصيد المستحق</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ return.pre_return_order_total_outstanding | money_with_currency }}</strong>
    </td>
  </tr>
  
          {% endif %}
  
          {% if return.order_total_outstanding > 0 %}
          <table class="row subtotal-table subtotal-table--total">
            
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>المبلغ المستحق الدفع</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ return.order_total_outstanding | money_with_currency }}</strong>
    </td>
  </tr>
  
          </table>
          {% elsif return.order_total_outstanding <= 0 %}
          <table class="row subtotal-table subtotal-table--total">
            
  <tr class="subtotal-line">
    <td class="subtotal-line__title">
      <p>
        <span>المبلغ المقدر للاسترداد</span>
      </p>
    </td>
    <td class="subtotal-line__value">
        <strong>{{ return.order_total_outstanding | abs | money_with_currency }}</strong>
    </td>
  </tr>
  
          </table>
          {% endif %}
        </table>
      </td>
    </tr>
  </table>
  
  
              </td>
            </tr>
          </table>
        </center>
      </td>
    </tr>
  </table>
  
          <table class="row footer">
    <tr>
      <td class="footer__cell">
        <center>
          <table class="container">
            <tr>
              <td>
                
                <p class="disclaimer__subtext">إذا كان لديك أي أسئلة، يرجى الرد على هذا البريد الإلكتروني أو الاتصال بنا على <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p>
              </td>
            </tr>
          </table>
        </center>
      </td>
    </tr>
  </table>
  
  <img src="{{ 'notifications/spacer.png' | shopify_asset_url }}" class="spacer" height="1" />
  
        </td>
      </tr>
    </table>
  </body>
  </html>

Last updated