Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2007
    Location
    Phoenix, Arizona
    Posts
    15
    Plugin Contributions
    0

    Default HELP? Can I remove the "Add To Cart Button" on certain products???

    We are starting to get some "items" not necessarily prodcuts for sale, that we want to showcase. We want to set these up like products to maintain consistancy of the site, but do not want people to think that they can buy them.

    Is there a way to disable or remove the "Add To Cart Button" on these showcase products only?
    Kerrie Mallory-Thompson
    www.laserbits.com

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Set those up as call for price and then use the stylesheet.css to hide this button ...

  3. #3
    Join Date
    Sep 2007
    Location
    Phoenix, Arizona
    Posts
    15
    Plugin Contributions
    0

    Default Re: Modify "Add to Cart" button

    I am kind of in the same boat, but in my case, I need to be able to completely REMOVE the "add to cart" button, but only on a few products.

    Using the CSS is a global change, correct? How would I do this on a per product basis? Is it possible?
    Kerrie Mallory-Thompson
    www.laserbits.com

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Looks like you will have to change the image to a blank images:

    includes/ templates/ your template/ images/ call_for_prices.jpg

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Modify "Add to Cart" button

    You can create SPECIFIC STYLESHEETS for a product;s info page.

    Let's say the product's ID is 244...

    If you create a stylesheet called:

    p_244.css

    Then you can style that product's info page, and {display:none} declared for elements on the page will hide them away.

    NOTE: this does NOT hide add-to-cart buttons on LISTING PAGES, just the INFO PAGE for that product, so you may have to disable add-to-cart on listing pages to show just the more info link.
    20 years a Zencart User

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Or better yet, just create them as Document-General products, instead of Product-General. (see the pulldown list next to the Add New Product button in your admin screen.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Quote Originally Posted by DrByte View Post
    Or better yet, just create them as Document-General products, instead of Product-General. (see the pulldown list next to the Add New Product button in your admin screen.)
    Ah,,, of course... Irony is that we actually use this function for that very purpose on a few sites... (Wood for Trees syndrome).
    20 years a Zencart User

  8. #8
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    I recently did this very thing:

    http://www.prommart.com/index.php?ma...oducts_id=6998

    Every product/dress under my Referral Dresses category has the Add to Cart button removed. All other categories work as normal.

    I did this in the english.php by removing the "Call for Price" text in two places, that shows on the page. I used an "edit find" to find the Call for Price in the english.php

    Then, as I recall, I used the Easy Populate version that allows one to add fields. I added the Call for Price field (it's named something else for the db.) Then I downloaded then reuploaded the products I needed to re-set, setting them for Call for Price.

    sph
    www.prommart.com
    www.fashion-mart.biz
    Last edited by SPH; 12 Apr 2012 at 05:30 PM.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Thanks for sharing your workaround.

    But I respectfully submit that that's much more work than just creating the product as Document-General from the start. Using Document-General involves no special coding, no code/language alterations.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: HELP? Can I remove the "Add To Cart Button" on certain products???

    Thanks for the tip. My workaround was based only on what I know. After 6 years there is alot I still don't know about zencart. Like Document General, never yet looked in to what that is.

    In my case, hundreds of dresses were already up which had to be changed over, and one of my Easy Populates was very handy for changing to Call for Price. I wonder if it could have changed them to Document General...had I know about that.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM
  2. Remove certain SHIPPING if any products in the cart have "0" weight.
    By RosscoB in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 20 Jul 2009, 10:34 PM
  3. Replies: 12
    Last Post: 17 Jul 2009, 01:26 AM
  4. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  5. HELP: HOW to Remove "Add to cart" button (function) completely!??:((
    By chelsea1984 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2007, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg