Zen Cart Logo
Forums / Customization from the Admin / Remove "Buy Now" from Product Listing

Remove "Buy Now" from Product Listing

Locked

Views: 2,537

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
23 Nov 2010, 8:26 AM
#1
susieq228 avatar

susieq228

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

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.

23 Nov 2010, 2:43 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten

24 Nov 2010, 5:03 AM
#3
susieq228 avatar

susieq228

New Zenner

Join Date:
Oct 2010
Posts:
14
Plugin Contributions:
0

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

18 Dec 2010, 5:26 PM
#4
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

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.

18 Dec 2010, 5:28 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

19 Dec 2010, 12:04 AM
#6
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

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?

19 Dec 2010, 12:31 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Remove "Buy Now" from Product Listing

I believe if you change the code in the product_listing.php module around line 111 from:

          $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:

          $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!

19 Dec 2010, 11:48 PM
#8
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

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?

20 Dec 2010, 12:28 AM
#9
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

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.