ShhStudios

Adding logo to your Shopify email template

Ecommerce, Shopify

No Comments


Share this post

I’ve recently been getting a number of questions regarding Shopify email template, especially about adding a logo.

By default, Shopify email templates are in plain text. You can enable HTML template to add other fancier stuffs.

Go to Preferences » Email & Notifications. Click on the one you want to edit, such as “Order Confirmation”. On the bottom, you’ll see a checkbox for “Enable HTML template”.

Check that box and you’ll have another text box for HTML. You can basically copy/paste what you have in Plain Text box into this one and add other things.

Adding Logo

<a href="http://squaretheme.myshopify.com" >
<img src="{{'logo.png' | asset_url }}" alt="{{shop.name}}" />
</a>

Change http://squaretheme.myshopify.com to your shop. This should work if you are using Square theme, but if you are using Canvas theme or any other theme, the easiest way to find out the name of your logo is to look in y our Theme Settings:

What you see below the “Choose File” where you upload your logo is the file name of your logo. If it’s different than “logo.png”, make that change to the above code.

Whole Example: Order Confirmation

<a href="http://squaretheme.myshopify.com" title="Go Home" id="logo">
    <img src="{{'logo.png' | asset_url }}" alt="{{shop.name}}" />
</a>
<p>Thank you for placing your order with {{ shop_name }}!</p>
<p>This email is to confirm your recent order.</p>
<p>Date {{ date | date: "%m/%d/%Y" }}{% if requires_shipping %}</p>

<h4>Shipping address</h4>

<p>{{ shipping_address.name }} <br />
{{ shipping_address.street }}<br />
{{ shipping_address.city }}, {{ shipping_address.province }}  {{ shipping_address.zip }}<br />
{{ shipping_address.country }}{% endif %}
</p>

<h4>Billing address</h4>

<p>{{ billing_address.name }}<br />
{{ billing_address.street }}<br />
{{ billing_address.city }}, {{ billing_address.province }}  {{ billing_address.zip }}<br />
{{ billing_address.country }}
 </p>

<ul>{% for line in line_items %}<li>{{ line.quantity }}x <strong>{{line.title }}</strong> for {{ line.price | money }} each</li>
{% endfor %}
</ul>

<p><strong>Special Instructions:</strong> {{ note }}</p>

<p>{% if discounts %}<strong>Discounts:</strong>  {{ discounts_savings | money_with_currency }}{% endif %}<br />
<strong>Subtotal:</strong>   {{ subtotal_price | money_with_currency  }}{% for tax_line in tax_lines %}<br />
<strong>{{ tax_line.title }}:</strong>       {{ tax_line.price | money_with_currency  }}{% endfor %}{% if requires_shipping %}<br />
<strong>Shipping:</strong>   {{ shipping_price | money_with_currency }}{% endif %}<br />
<strong>Total:</strong>      {{ total_price | money_with_currency }}</p>

Note: I added the line for Special Instructions that should be included for Canvas & Square themes. If your theme does not have that feature on the cart page, you should delete that. Other lines should work fine.

<p><strong>Special Instructions:</strong> {{ note }}</p>

Read more

Updating your Shopify theme without overriding your Theme Settings (almost)

Ecommerce, Shopify

No Comments


Share this post

From time to time, we’ll update the our existing themes for bugs and other enhancements. You can always apply the theme again once you’ve purchased the theme, but it’ll set your Theme Settings to default, which may be annoying.

Here’s a brief guide to updating your theme without overriding your Theme Settings. I put “almost” in the title because this won’t unfortunately  preserve the custom images you uploaded through Theme Settings, such as logo and slide images. If you’d like to update certain files so it won’t affect your images, here’s how, but for now, this should be the simplest way for most people.

1. Export your existing theme.

Click on “Export theme” link under your main theme you’re using. This will send a .zip file of your theme to your email. Download this file.

*It’s also a good idea to do this often as a backup. You can always roll back to your current settings if you don’t like the new update.

2.Go to the Theme Store to find your theme.

Click on “Get Theme” button and chooose “Install and publish as my shop’s main theme”.

If you’d like to also download as .zip to to keep it in your computer,  you can do that as well.

3. Unzip the zip file you’ve download from #1.

Navigate to “config” folder and open “settings_data.json” file with your text editor. Textedit for Mac, Notepad for PC will do.

Select all and copy the content.

4. Go to your Theme Editor for your main theme. Go down to find the same file under “config”.

Replace the content with what you’ve copied to your clipboard. (Select All and Paste). Hit “Save” button and that’s it!

 

Read more

Updating Certain Shopify Theme Files

Ecommerce, Shopify

No Comments


Share this post

Here’s a guide for general theme update but if you want to replace only certain files, here are some tips.

  1. First, download the theme to your desktop, not apply the theme.
  2. Open the file you want to replace.
  • .liquid files may not display correctly in certain text editors. For PC users, Notepad will work fine. For Mac users, you can use TextMate — it’s not free, but you can use trial for a limited time. TextEdit doesn’t seem to render liquid files well.
  1.  Select All and copy the content. Now go to Theme > Theme Editor and open the corresponding file. Select All and paste to replace the content.

Read more

Square: A New Shopify Theme

Ecommerce, Launch, News

No Comments


Share this post

We just launched a new Shopify theme, Square. It comes with 2 presets, Understated and Contrast.

 

Some of the features include:
  • Logo and favicon
  • Slideshow with HTML and text
  • Random collection product display
  • Size Chart
  • Related Products
  • Sub-menus
  • SEO-optimized
  • MailChimp integration

Please see this page for more.

Available for purchase at the Shopify Theme Store.

Read more

A Website

Launch, News

No Comments


Share this post

Finally got around to put up our own website. Been too busy helping with other people’s sites — sorry for the long period of the Coming Soon page. :)

Please stay tuned as we refine this site. We’re also looking forward to announcing news about the fun projects we’re working on!

Read more