What's your biggest current challenge? Have your say in Community Polls along the right column.

How do i remove this number?

Solved

How do i remove this number?

Disholt
Tourist
10 0 3
Accepted Solution (1)

swym
Trailblazer
157 33 73

This is an accepted solution.

Hey @Disholt

 

To hide the number from the store, please add the below code at the bottom of the theme.liquid file just before the closing body tag: 

 

 

{% if template contains 'product' %}
  <style>
    .quantity__input:not([data-quantity-variant-id]) { display: none !important }
  </style>
{% endif %}

 

 

 

Once you have made this change try checking your store, to verify the changes. In your case it would look like: 

swym_0-1732541324621.png

 

If my response helped you, please consider giving it a like (👍) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions. 

 

Thank you!

 

Regards, 

Abhishek from Swym

 

 

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries

View solution in original post

Replies 10 (10)

ZestardTech
Shopify Partner
5912 1067 1413

Hello @Disholt 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.min.css and paste this at the bottom of the file:

 

input#Quantity-template--22245588107592__quick_order_list_3AtKqm {
display: none;
}

 

ZestardTech_0-1732541094433.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Disholt
Tourist
10 0 3

i do not have theme.min.css 

swym
Trailblazer
157 33 73

This is an accepted solution.

Hey @Disholt

 

To hide the number from the store, please add the below code at the bottom of the theme.liquid file just before the closing body tag: 

 

 

{% if template contains 'product' %}
  <style>
    .quantity__input:not([data-quantity-variant-id]) { display: none !important }
  </style>
{% endif %}

 

 

 

Once you have made this change try checking your store, to verify the changes. In your case it would look like: 

swym_0-1732541324621.png

 

If my response helped you, please consider giving it a like (👍) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions. 

 

Thank you!

 

Regards, 

Abhishek from Swym

 

 

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries
Disholt
Tourist
10 0 3

Thank you, i have added this to theme.liquid, but this is not working for me

swym
Trailblazer
157 33 73

Hey @Disholt 


Can you please share a screenshot with me here, just want to see how you have added the code as the code is not showing up on the store.

Also, have you added the code as shown in the screenshot below? If not then please do it as shown in the screenshot below: 

Community Screenshot.png

 

Thanks  

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries
Disholt
Tourist
10 0 3

yes i have it like this.Schermopname (43).png

swym
Trailblazer
157 33 73

Yeah, that's perfect. Please save it and preview your store. 

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries
Disholt
Tourist
10 0 3

thank you, forgot to save the file in the first place. 

swym
Trailblazer
157 33 73

Hi,

 

That’s great to hear everything is working now! It looks like the issue was due to the changes not being saved earlier. 

 

If my response helped you please consider it as an accepted solution.   

 

Thanks, 
Abhishek from Swym

- Appreciate the assistance. Show your approval with a Like! And when your question finds its answer, seal the deal by marking it as an Accepted Solution!
- Our Solutions: Wishlist Plus | Swym Back in Stock Alerts | Swym Gift Lists and Registries
Disholt
Tourist
10 0 3

sorry boss!