How to remove “Default title” from variant names on the the cart page?

In some cases, you might not want the default title to show on the cart page.  (Some clients prefer to have it, others don't).  To remove this:

  1. Go to Admin > Themes > Edit HTML/CSS.  Under Tempaltes on the left, open up cart.liquid.
  2. Around line 43 of cart.liquid under Templates you will see this:

    <small>{{ bl_word }}</small>

    Change it to:

    {% unless bl_word contains "Default" %}
    <small>{{ bl_word }}</small>
    {% endunless %}

  3. Save.

This will tell Shopify "only show the variant name if it does NOT contain the word Default", so anything with "Default title" will get hidden.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk