Solved

hide add to cart button from product pages

Posted on 2012-04-11
6
368 Views
Last Modified: 2012-04-12
I need to hide the Add to Cart buttons on all product pages on this site:

http://www.haitiancreations.com/springtime

If you click on an image though, it pulls up the detail of that product.  I only need the Add to Cart button on that detail page.

Any ideas on how to do that?
0
Comment
Question by:COwebmaster
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 37836107
This comment won't help with your specific question, however I was wondering why you wanted to remove the add to cart from the main page.
I would think it would add to the usability of the site. If someone sees the image and knows they want it, they can click easily.
The main product page as is would aid in selecting multiple items quickly, instead of selecting the individual product page for 12 different items.
Just my thoughts.
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 37837410
You can just add display:none; to your a.button, button.button, input.button, #review_form #submit classes in your CSS.  

I do have to agree with Rartemass, if this is an ecommerce site, then why would you want to hide your add to cart buttons?
0
 

Author Comment

by:COwebmaster
ID: 37839550
I know, but it's just what the owner wants.  so I can add those things to my custom.css stylesheet, yes?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 30

Expert Comment

by:LZ1
ID: 37839559
Thats right.  Try it and let us know
0
 

Author Comment

by:COwebmaster
ID: 37839601
Okay, I did the following but now all the Add to Cart buttons are hidden:

a.button, button.button, input.button, #review_form #submit {
display: none;
}
0
 

Author Comment

by:COwebmaster
ID: 37839646
Okay, I just needed to add this:

a.button {
display: none;
}

Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question