We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I hide the cart quantity box in the Symmetry theme?

Solved

How can I hide the cart quantity box in the Symmetry theme?

davidjahn
Tourist
18 0 1

Hello,

 

I am trying to hide the quantity box in the cart drawer and main cart on my Symmetry theme. I got it working on the Dawn theme but can't find what to change in the Symmetry theme Code.

Help is really appreciated.

 

Thank you in advance!

 

Accepted Solutions (2)
kazi
Shopify Partner
724 100 125

This is an accepted solution.

@davidjahn  add this css 

 

.cart-item-list-heading.cart-item-list-heading--price {
display: none;
}

.cart-item-list-heading.cart-item-list-heading--quantity {
display: none;
}

.cart-item__column.cart-item__price {
display: none;
}

 

 

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

View solution in original post

kazi
Shopify Partner
724 100 125

This is an accepted solution.

Then only this css will work

 

.quantity .notabutton {
display: none;
}

.quantity.buttoned-input {
border: 0;
}

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

View solution in original post

Replies 13 (13)

kazi
Shopify Partner
724 100 125

@davidjahn Hello can you share the store URL?

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

Hello @kazi 

It is https://apresjeudi.com

I send you the PW via message 

kazi
Shopify Partner
724 100 125

@davidjahn  Try this css in styles.css

 

.cart-item__column.cart-item__quantity {
display: none;
}

 

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

Yes thank you this works!

But now in the quantity (Menge) column the price is displayed.

Is it possible to put the price per article in the price column and the actual quantity which is in the cart in the quantity column? (x1, x2,...)

 

Bildschirm­foto 2023-03-30 um 18.52.12.png

kazi
Shopify Partner
724 100 125

This is an accepted solution.

@davidjahn  add this css 

 

.cart-item-list-heading.cart-item-list-heading--price {
display: none;
}

.cart-item-list-heading.cart-item-list-heading--quantity {
display: none;
}

.cart-item__column.cart-item__price {
display: none;
}

 

 

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

@kazi sorry to keep asking but we are getting there 🙂

 

What you sent me only showed me the final price but nothing else. Now I changed it to this:

 

.cart-item__column.cart-item__quantity {
display: quantity;
}
.cart-item-list-heading.cart-item-list-heading--price {
display: price;
}
.cart-item-list-heading.cart-item-list-heading--quantity {
display: quantity;
}
.cart-item__column.cart-item__price {
display: price;
}

 

Bildschirm­foto 2023-03-30 um 20.06.07.png

 

Now I would like to get rid of this quantity box/selection and only see the actual quantity (x1, x2) in this column. Is that possible?

 

Thanks again. Your help is much appreciated!

kazi
Shopify Partner
724 100 125

@davidjahn this is the css you needed 

 

.cart-item__column.cart-item__quantity {
display: none;
}

.cart-item-list-heading.cart-item-list-heading--price {
display: none;
}

.cart-item-list-heading.cart-item-list-heading--quantity {
display: none;
}

.cart-item__column.cart-item__price {
display: none;
}

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

Unfortunately when I put in this code I only see the total price but nothing else.

 

You can see it now on the site. I added the code again.

kazi
Shopify Partner
724 100 125

@davidjahn I thought you wanted to remove the quantity box and all other info up/down of this column. 

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

Yes I wanted to remove the quantity box that worked fine. But instead I would like to have the quantity displayed, just without the box and the + and - around it. So just for example x1 or x2

 

I‘m really sorry if I confused you with my questions 🙂 

kazi
Shopify Partner
724 100 125

This is an accepted solution.

Then only this css will work

 

.quantity .notabutton {
display: none;
}

.quantity.buttoned-input {
border: 0;
}

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

davidjahn
Tourist
18 0 1

Awesome. Exactly what I was looking for.

 

Thank you!! 

kazi
Shopify Partner
724 100 125

Welcome! 🙂

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd