Configuring Your Customer Account Page

Notice: Applicable only to Classic customer accounts (e.g., shop theme) and not applicable to “New customer accounts.”

When using Giftship’s multiple shipping address process, you may want to add some additional code to your cart page to either hide the “parent” multiple shipping address order, or the “child” multiple shipping address orders, so that it does not appear that more than the initial order was placed.

To get started, first navigate to your online stores theme editor, and open the templates which loads your customers orders. On the Debut and Dawn themes, this is found in Templates -> customers/account.liquid. Look for the line that contains the below code:

{%- for order in customer.orders -%}

For both methods below, we’ll be making edits directly underneath this line.

Please note: only one of the options below should be implemented, as implementing both will effectively hide all multiple shipping address orders from the customer account page.

How to Hide Parent Orders

Right underneath the line of code found above, insert the following snippet:

{% assign ms_order = "false" %}
              
{% for tag in order.tags %}
  {% if tag == "ms_order" %}
  	{% assign ms_order = "true" %}
  {% endif %}
{% endfor %}

{% if ms_order == "true" %}
	{% continue %}
{% endif %}

How to Hide Child Orders

Right underneath the line of code found above, insert the following snippet:

{% assign ms_fulfillment_order = "false" %}
              
{% for tag in order.tags %}
  {% if tag == "ms_fulfillment_order" %}
  	{% assign ms_fulfillment_order = "true" %}
  {% endif %}
{% endfor %}

{% if ms_fulfillment_order == "true" %}
	{% continue %}
{% endif %}

Want to take your logged-in customer accounts to the next level? 🚀🚀🚀

Start your 30-day free trial of ⭐⭐⭐⭐⭐ rated EasyAccounts today!

It includes:

Beautiful logged-in Customer Accounts 👋

Automated Promotions 📈

Wishlist 💚

Returns / Exchanges 📦

Address Book / Bulk Address Upload 📖

And much more!



Can't find the answer in our documentation?
Contact Support