Forums / Templates, Stylesheets, Page Layout / Removing "more info" on product list page

Removing "more info" on product list page

Started by james739 on 4 Aug 2007, 1:10 PM · Views: 5,125

Results 1 to 7 of 7
12 Sep 2007, 4:01 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Removing "more info" on product list page

Don't use attributes and voila! they are gone ... :cool:

However, you need attributes ... and the customer needs to make a choice about the products so ... you get more info ... instead of add to cart ...

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!

12 Sep 2007, 6:33 AM
#4
lastpirate007 avatar

lastpirate007

Zen Follower

Join Date:
Jul 2007
Posts:
137
Plugin Contributions:
0

Re: Removing "more info" on product list page

james739:

Just wondering how to remove the "more info" link on my product list page.

example
http://trendsdepot.com/index.php?main_page=products_new

to remove the "more info" link on my product list page.
In includes\modules\product_listing.php find this:

$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';

And comment it out /* the code */

22 Nov 2010, 2:19 AM
#5
coolgb avatar

coolgb

New Zenner

Join Date:
Nov 2010
Posts:
3
Plugin Contributions:
0

Re: Removing "more info" on product list page

james739:

Just wondering how to remove the "more info" link on my product list page.

example
http://trendsdepot.com/index.php?main_page=products_new

in includes\modules\product_listing.php find this an comment it:

$products_link = '<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 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';

29 Apr 2011, 2:04 AM
#6
cchan avatar

cchan

Zen Follower

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

Re: Removing "more info" on product list page

I have tried both of these and they didn't work... please click here to see how it looks http://oembargain.com/index.php?main_page=index&cPath=34_105

thanks!

  • oembargain.com
15 Aug 2011, 7:33 PM
#7
chrispenner avatar

chrispenner

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Removing "more info" on product list page

In your template's english.php file:

define ('MORE_INFO_TEXT','');

That way you don't have to alter the site's code, and possibly lose your alterations in future upgrades.