Why did my 'Add to Cart' button disappear after theme edits?

Solved

Why did my 'Add to Cart' button disappear after theme edits?

Rupert22
Excursionist
62 0 6

Hello, I encountered a problem where, after several hours of editing the theme, the 'Add to Cart' button disappeared. During the edits, I added applications from the App Store and changed the layout of the pages. I'm not sure why it disappeared.

 

Website link: https://nexaco.co/password

Password: 123456

 

Rupert22_0-1702904754808.png

 

Rupert22_3-1702904862092.png

 

Rupert22_1-1702904781556.png

 

 

RuppJou
Accepted Solution (1)

Huptech-Web
Shopify Partner
1025 205 220

This is an accepted solution.

Hi @Rupert22 
Edit theme and open the codmonster.css file
Search for .product-single__add-to-cart and replace the current code with below code

Find Below code
.product-single__add-to-cart, .product-form__submit {
  display: none !important;
}

Replace with below 👇 

.product-single__add-to-cart, .product-form__submit {
  /*display: none !important; */
}
If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

View solution in original post

Replies 6 (6)

Huptech-Web
Shopify Partner
1025 205 220

This is an accepted solution.

Hi @Rupert22 
Edit theme and open the codmonster.css file
Search for .product-single__add-to-cart and replace the current code with below code

Find Below code
.product-single__add-to-cart, .product-form__submit {
  display: none !important;
}

Replace with below 👇 

.product-single__add-to-cart, .product-form__submit {
  /*display: none !important; */
}
If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

Dan-From-Ryviu
Shopify Partner
10768 2128 2249

Please check if your sticky add-to-cart app has the option to remove the default buy button of your theme.

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Huptech-Web
Shopify Partner
1025 205 220

Hi @Rupert22 
If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Rupert22
Excursionist
62 0 6

Rupert22_0-1703013709228.png

Hi, now it shows Liquid error in the bottom of my page. Do you have any idea what to do?

RuppJou
Rupert22
Excursionist
62 0 6

Thanks a lot, my problem is solved. Made it with a little bit of problems but its done! Thanks a lot once more!!

RuppJou
ACCN
Visitor
2 0 0

Hello Ruppert! I've been having the same problem you had with the add to cart button disappearing. It appears when I reload the page but disappears sometimes. I know it's been a while but I stumble across your question while looking how to fix the same thing. Hope you can let me know how did you finally fixed it. Thanks in advanced!