Remove my shop address from customer receipts

I would like to know how I can remove the shop address from customer receipts. It is not relevant for online sales.

Where do I locate the order notification email template - is this under notifications?

I presume I need to remove some code - please can you confirm which code this is.

Hi @Erika6

So, the template isn’t where your theme files are. If you click ‘Settings’ => ‘Notifications’, then select ‘Order confirmation’.

That will open the liquid template for the email that customers receive post-order.

I don’t have the store address in my template, but if the naming’s the same as Shopify’s API, you will be looking for something like:

{{shop. address1}}

or/and

{{shop.address2}}

You’ve just got to make sure you remove a complete pair of ‘{{’‘}}’, removing just one side will cause an error. And obviously, just make sure you test the change (and backup the file before making it).

Good luck,

Oli

——————————

Founder @ www.preproduct.io

Test and make sales for future products

Thanks so much…but I don’t have shop.address.

Can only see shipping / billing address - these are the only two ‘address’ fields in the code.

Ah, got you.

Maybe post the contents of the file here and I’ll have a look.

That was the same as my template, so it might be a learning experience for both of us

——————————

Founder @ www.preproduct.io

Test and make sales for future products

Hi Oli

Here’s the code

{% capture email_title %}Thank you for your purchase! {% endcapture %}
{% capture email_body %}
{% if requires_shipping %}
{% case delivery_method %}
{% when ‘pick-up’ %}
You’ll receive an email when your order is ready for pickup.
{% when ‘local’ %}
Hi {{ customer.first_name }}, we’re getting your order ready for delivery.
{% else %}
Hi {{ customer.first_name }}, we’re getting your order ready to be shipped. We will notify you when it has been sent.
{% endcase %}
{% if delivery_instructions != blank %}

Delivery information: {{ delivery_instructions }}

{% endif %} {% endif %} {% endcapture %} {{ email_title }} .button__cell { background: {{ shop.email_accent_color }}; } a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
{%- if shop.email_logo_url %} {{ shop.name }} {%- else %}

{{ shop.name }}

{%- endif %}
Order {{ order_name }}

{{ email_title }}

{{ email_body }}

{% if order_status_url %}
View your order
{% if shop.url %}
or Visit our store
{% endif %}

{% else %}
{% if shop.url %}

Visit our store
{% endif %}

{% endif %}

{% assign gift_card_line_item = line_items | where: “gift_card” %}
{% if gift_card_line_item.first %}

Gift card

You’ll receive separate emails for any gift cards.

{% endif %}

Order summary

{% for line in subtotal_line_items %} {% endfor %}
{% if line.image %} {% endif %} {% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display = line.quantity %} {% endif %}

{{ line.title }} × {{ line_display }}

{% if line.variant_title != ‘Default Title’ %}
{{ line.variant_title }}

{% endif %}

{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}

{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != ‘all’ %}



{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})


{% endif %}
{% endfor %}
{% endif %}

{% if line.original_line_price != line.final_line_price %} {{ line.original_line_price | money }} {% endif %}

{% if line.final_line_price > 0 %} {{ line.final_line_price | money }} {% else %} Free {% endif %}

{% for discount_application in discount_applications %} {% if discount_application.target_selection == 'all' %} {% capture discount_title %} {% if discount_application.title %} {{ discount_application.title | upcase }} {% else %} Discount {% endif %} {% endcapture %}

{% endif %}
{% endfor %}

{% if current_total_duties %}

{% endif %}

{% if total_tip and total_tip > 0 %}

{% endif %}

Discount {{ discount_title }}

-{{ discount_application.total_allocated_amount | money }}

Subtotal

{{ subtotal_price | money }}

Shipping

{{ shipping_price | money }}

Duties

{{ current_total_duties | money }}

Taxes

{{ tax_price | money }}

Tip

{{ total_tip | money }}

Total

{{ total_price | money_with_currency }}

{% if total_discounts > 0 %}

You saved {{ total_discounts | money }}

{% endif %}

{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% unless transaction.kind == “capture” or transaction.kind == “void” %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% endunless %}
{% endfor %}

{% if transaction_size > 1 or transaction_amount < total_price %}

{% for transaction in transactions %}
{% if transaction.status == “success” and transaction.kind == “authorization” or transaction.kind == “sale” %}
{% if transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}

{% endif %}
{% if transaction.kind == ‘refund’ %}
{% if transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}

{% endif %}
{% endfor %}

{{transaction_name}}

{{ transaction.amount | money }}

Refund
{{ refund_method_title | capitalize }}

- {{ transaction.amount | money }}
{% endif %}

Customer information

{% if requires_shipping and shipping_address %} {% endif %} {% if billing_address %} {% endif %}

Shipping address

{{ shipping_address | format_address }}

Billing address

{{ billing_address | format_address }}
{% if requires_shipping and shipping_address %} {% endif %} {% assign transaction_count = transactions | size %} {% if transaction_count > 0 %} {% endif %}

Shipping method

{{ shipping_method.title }}

Payment method

{% for transaction in transactions %} {% if transaction.status == "success" or transaction.status == "pending" %} {% if transaction.kind == "authorization" or transaction.kind == "sale" %} {% if transaction.payment_details.credit_card_company %}

ending with {{ transaction.payment_details.credit_card_last_four_digits }} — {{ transaction.amount | money }}

{% elsif transaction.gateway_display_name == "Gift card" %}

ending with {{ transaction.payment_details.gift_card.last_four_characters | upcase }} — {{ transaction.amount | money }}
Gift card balance: {{ transaction.payment_details.gift_card.balance | money }}

{% else %}

{{ transaction.gateway_display_name }} — {{ transaction.amount | money }}

{% endif %} {% endif %} {% endif %} {% endfor %}

If you have any questions, reply to this email or contact us at {{ shop.email }}

@Erika6 ,

I’ve just had a look at your code, it’s much the same as mine, but my store doesn’t serve the business address in receipt emails. All I can see in the code is references to the customer’s address. So, I really am a bit stumped. I thought maybe there would be a global template file that was applied to all emails, but there doesn’t seem to be.

The only thing I might suggest is to go to settings => notifications => then click the ‘customise’ button. In case there’s an option to remove it in that editor.

Oli

——————————

Founder [email removed] www.preproduct.io

Test and make sales for future products

hey, I’m having the same problem and I want to remove my address but I don’t see an option where I can do that.

did u find the answer please??