Results 1 to 10 of 10
  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
    Ohio
    Posts
    6,068
    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 ...
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  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
    Ohio
    Posts
    6,068
    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
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  5. #5
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    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.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  6. #6
    Join Date
    Jan 2004
    Posts
    58,235
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    Hertfordshire, UK
    Posts
    9,915
    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).
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  8. #8
    Join Date
    Jan 2006
    Posts
    1,556
    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
    58,235
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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,556
    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.

 

 

Similar Threads

  1. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM
  2. How to Remove just one "Display Product Add to Cart Button"?
    By scottwww1 in forum General Questions
    Replies: 12
    Last Post: 29 Oct 2009, 12:39 AM
  3. 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
  4. 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
  5. Remove "Add Selected Items to Cart" button at top of page & Disabling links
    By ahuacatlan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2007, 04:04 AM

Bookmarks

Posting Permissions

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