Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hide add to cart button from product pages

Posted on 2012-04-11
6
Medium Priority
?
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

721 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