Solved

hide add to cart button from product pages

Posted on 2012-04-11
6
361 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Split in Javascript 5 31
P tag not forcing line space 2 23
is this a cms? 8 36
CSS issue 8 14
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 …

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now