Hide variant name in cart Dawn theme

How do I hide the variant name in the cart? I am using the Dawn theme.

1 Like

@mette1

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

@KetanKumar

Thank you.

1 Like

Hi @mette1 ,

Thanks for reaching out about this.

Just to ensure I understand the question - are you looking to remove the highlighted part from the screenshot below?

If so, I am interested to hear about the reason for removing the variant title from the cart page. Some buyers recheck their cart summary and information several times before finalizing the purchase. Removing the most important part of the information for them may create confusion.

However, you should be able to remove this line within your theme code. It depends on the theme, but the cart template should be called cart-template.liquid or cart.liquid. Search for item.variant.title line, which you can remove. Please note, before you customize a theme, it’s a good idea to make a backup copy so that you can discard your changes and start again if you need to.

If you don’t feel comfortable editing the template code yourself, you can always reach out to our Support team. Assuming you’re using a free theme and your store has enough complimentary design time left, our team may be able to customize this for you.

You can reach out to our Contact Us page at this link. Then log in to your store. It will allow us to verify you as the store owner securely. Once you have successfully logged in, you should be able to reach out to a Support Advisor and discuss the customization request.

Otherwise, if you are using a paid third-party theme, feel free to contact the theme developer to see if they can complete this customization for you. Also, you can post a job on the** Shopify Experts Page **and see what feedback and quotes you get.

Lastly, I don’t know if you have anything planned for BFCM this year, but now is the time to make some preparations. BFCM is one of the biggest sales weekends of the year and sees the start of the holiday season as well. Every year my go-to is this BFCM Checklist. It allows me to make sure that I am making the best use of my time and resources, and it really helps take the pressure off by starting early. It is well worth the read should you be interested!

@Iris

Yes, it is the highlighted part. Is it possible to hide it adding css to the base.css, so that I keep the code in the cart, if in the future I would like it to be displayed?
I am using the shopify Dawn theme.

Hi again @mette1 ,

As you are using the Dawn theme, a free theme, the best option here would be to reach out to our Advisors team. They can check if an option of disabling/enabling variant titles can be added to the theme editor itself.

Please note that there is no guarantee this customization is supported, and it has to be reviewed by our team first. As mentioned above, you can always hire a Shopify Expert to do this editing for you.

Hope that helps.

@Iris I don’t have any luck when contacting them.

@KetanKumar

Do you know how I can hide the variant name in the cart using the base.css?

Hi @mette1 ,

Thanks for getting back to me.

Are you saying that you cannot get in touch with the Support Advisors team, or this type of customization is not supported by our team?

You can reach out to the team via one of the live channels through this link here. Once you log in, select the topic you’d like to discuss with the Support Advisor. In your case, click on Store Settings>Online Store>Themes by Shopify.

Then scroll down to the bottom of the page, where you should see the ‘Get Support’ section, where you can select your preferred communication channel.

However, if you have already confirmed that our team cannot make these edits, you can post a job on the Shopify Experts Page and see what feedback and quotes you get.

@mette1

yes, please add this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css ->paste below code at the bottom of the file.
.product-option {display: none !important;}

@KetanKumar

Thank you very much. Is it possible to adjust, so it is only the variant name, that is not visible, but keep the variant price?

How to remove the names of product options on the cart page? What code and where to fix it?

Also interested. Did you happen to find a solution?