How can I add a logo and center text in a gift card email?

Hello,

I am trying to add my store logo to the top of the gift card email. Also, I’d like to center all of the text.

Thank you!

Hi there,

To edit the Order Confirmation email in this way would require significant logic within the template to detect whether a gift card product is present.

We do have an app called Gift Card Pro which offers customizable email templates, plus much more, really streamlining the gift card purchasing process by allowing your customers to send directly to recipients via email on an exact date and time, and add a gift message.

https://apps.shopify.com/gift-card-pro

Let me know if you wanted to go over anything here, happy to chat any time!

Tim

Gist Apps

support@gist-apps.com

Hello @Tim_Gist

Once you Log in to the Admin, then process the following steps:

Step 1: Go to Dashboard ->Setting->Notification->Click on Customize Email Template

Step 2: Upload your store logo-> Save

Step 3: Then Go Back Notification → Select Gift card created Email Template

Step 4: Click on Edit code button and replace the code with the below code ->Save and check the preview

{% capture email_title %}
  Your gift card
{% endcapture %}
{% capture email_body %}
  {% if gift_card.expires_on %}
    Your {{ gift_card.balance | money_without_trailing_zeros }} gift card for {{ shop.name }} is active. Keep this email or write down your gift card number. This gift card expires on {{ gift_card.expires_on }}.
  {% else %}
    Your {{ gift_card.balance | money_without_trailing_zeros }} gift card for {{ shop.name }} is active. Keep this email or write down your gift card number.
  {% endif %}
{% endcapture %}
 

  
  
  
  
  
  

 
  
    <table>

      <tr>

        <td>

 

</td>

      </tr>

      <tr>

        <td>

 

</td>

      </tr>

      
        
          <table>

  
    
      
        <table>

          
            
          {%- if shop.email_logo_url %}
      
      {%- else %}
      # 
      {{ shop.name }}
      
      {%- endif %}
            # {{ email_title }}
            <table>

              <tr>

                <td>

 

</td>

              </tr>

            </table>
 
            
            <table>

              <tr>

                <td>

 

</td>

              </tr>

            </table>
 
            

{{ email_body }}

 
            <table>

              <tr>

                <td>

 

</td>

              </tr>

              
                
                  <table>

                    <tr>

                      <td>

View gift card

</td>

                    </tr>

                  </table>
                
              
            </table>
            

 
            {% if gift_card.pass_url %}
              
                
              
            {% endif %}
 
            
          
        </table>
      
    
  
</table>
          <table>

  
    
      
        <table>

          <tr>

            <td>

              
              

If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})

            

</td>

          </tr>

        </table>
      
    
  
</table>
 

 
        
      
    </table>
  

Output:

If you find our reply helpful, please hit Like and Mark it as a Solution.

An award-winning North American Shopify Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

Thank you! Everything looks great, except the “View Gift Card” at the bottom is still left aligned. Is there a way to center that also?

Thanks again!