Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2010
    Posts
    14
    Plugin Contributions
    0

    Default Remove "Buy Now" from Product Listing

    I apologize if this has already been asked. I've searched pretty thoroughly and couldn't find anything...

    How can I remove the "Buy Now" button from the Product Listing page(s)? I've somehow managed to in some categories, but not others. I've compared product listings side by side, though, and don't see anything different.

    For example, there are no "Buy Now" buttons in Alphabets, but there are in "Craft Fair">Christine's Table>Greeting Cards.

    http://www.scrapconcepts.com

    Thank you.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove "Buy Now" from Product Listing

    It looks like any with the download attribute do not have the buy now whereas those without an attribute do

    Post your admin > config > productlisting settings

  3. #3
    Join Date
    Oct 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: Remove "Buy Now" from Product Listing

    Thank you! I found the line item to edit there and it worked great.

    I don't know why I always forget about that screen...

  4. #4

    Default Re: Remove "Buy Now" from Product Listing

    I have no Buy Now buttons on anything (previously posted my problem on a different thread w/no solution). ALL my products are Downloads--does that have anything to do with this? I am not following the solution given above. I have checked the Admin--Config--ProductListing countless times.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove "Buy Now" from Product Listing

    Downloads use Attributes ...

    Products with Attributes only have the Add to Cart/Buy Now on the product _info page but not in any of the Listings ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6

    Default Re: Remove "Buy Now" from Product Listing

    THANK YOU!!! Is there any way I can manually code the Buy It Now Buttons to appear on product listing pages?

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove "Buy Now" from Product Listing

    I believe if you change the code in the product_listing.php module around line 111 from:
    Code:
              $lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
    to read:
    Code:
              $lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT, 'class="listingBuyNowButton"') . '</a>';
    it would give you the buy now button instead of the more info ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8

    Default Re: Remove "Buy Now" from Product Listing

    I tried that, but then got completely blank product listing pages. So I put back the old code, but my pages are still blank. any ideas?

  9. #9

    Default Re: Remove "Buy Now" from Product Listing

    Got it fixed with outside help, so can't share how it was done! Am being told that I have to have my "buy" buttons on the Product page for my download products, and it's too complicated to do otherwise. Thanks for your help, tho.

 

 

Similar Threads

  1. Showing "More Info" & "Buy Now" on Product Listing
    By litepockets in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Jul 2009, 05:23 PM
  2. "Buy Now" Button Broken - Only In Category Listing...
    By ChrisDrumm in forum General Questions
    Replies: 3
    Last Post: 21 Nov 2008, 08:47 PM
  3. change "add" to "buy now" in products listing
    By ary in forum Customization from the Admin
    Replies: 1
    Last Post: 25 May 2008, 03:06 PM
  4. Align "Buy now" button & product price in product listing
    By jurjenruben in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Dec 2007, 01:26 PM

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