jimdanforth Posted May 20, 2024 Posted May 20, 2024 (edited) I need to remove the following in stock notifications when an item is added to the cart Edited May 20, 2024 by jimdanforth Quote
pandrei Posted May 21, 2024 Posted May 21, 2024 Switch the Theme designer to Expert mode and add this line in css tab: Quote
jimdanforth Posted May 21, 2024 Author Posted May 21, 2024 Added that and refreshed cache just in case. No change Is the end of the CSS acceptable or does it need to be further up? Quote
Hotclutch Posted May 21, 2024 Posted May 21, 2024 2 hours ago, jimdanforth said: Added that and refreshed cache just in case. No change Is the end of the CSS acceptable or does it need to be further up? I have tested this on my installation, and it does work to hide the stock indicator. I have added the CSS at the bottom. CSS entered will be rearranged alphabetically after saving. Quote
jimdanforth Posted May 21, 2024 Author Posted May 21, 2024 hmm not sure then. Its definitely there: Quote
Hotclutch Posted May 22, 2024 Posted May 22, 2024 @jimdanforth I think you have made an error in placement. Looks like you have placed the CSS not at the very end of the file, but just before the last closing } Remove the code and place it after : .pop-up-content .buttons { padding-top:15px; margin:15px 0px 0px; } Quote
Hotclutch Posted May 22, 2024 Posted May 22, 2024 If you are using a different theme to what I may, your code may look slightly different. Just look for .pop-up-content .buttons { } And place it after that. Quote
jimdanforth Posted May 22, 2024 Author Posted May 22, 2024 Using the deals theme Placed it in the location that most closely matches your suggestion. The in stock text still appears on the pop up after adding to cart as well as the cart page. Quote
Hotclutch Posted May 22, 2024 Posted May 22, 2024 I have checked your site, because you have posted a link in another thread. Its working. So just CTRL + F5 for your browser. Quote
jimdanforth Posted May 22, 2024 Author Posted May 22, 2024 its is still displaying in both cart and popup. Quote
jimdanforth Posted May 22, 2024 Author Posted May 22, 2024 I changed it to say In cart instead of in stock while trying to remove the message. Quote
Hotclutch Posted May 22, 2024 Posted May 22, 2024 This is what I am seeing. The cart may require additional CSS change. Quote
jimdanforth Posted May 22, 2024 Author Posted May 22, 2024 OK. I see what happened. The popup is good to go now. It's the cart that I was also looking at. Quote
jimdanforth Posted May 22, 2024 Author Posted May 22, 2024 The cart page and the checkout page are still displaying it: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.