Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

hide add to cart button from product pages

Posted on 2012-04-11
6
Medium Priority
?
382 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 2000 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. 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 …

963 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