Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Removing "...more info" but keep price on product listing page

Removing "...more info" but keep price on product listing page

Locked

Started by sara_spixels on 31 May 2008, 12:43 AM · Views: 2,489

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
31 May 2008, 12:43 AM
#1
sara_spixels avatar

sara_spixels

New Zenner

Join Date:
May 2008
Posts:
15
Plugin Contributions:
0

Post #1 by sara_spixels

I'd like some help removing "...more info" on the products listing pages. I want to keep the price so turning it off in the admin doesn't work...

Here's an example:
http://saraspixelstudio.com/shop/index.php?main_page=index&cPath=39_40_48

I'd just like to have the image, title and price. I would also like to remove the space between the title and price. I've looked in my product_listing.php but I don't see any <br/> tags (as suggested in another thread).

Thanks in advance!!

31 May 2008, 1:42 AM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

These items have attributes do the price is not determined until one selects the attributed to include - ergo no price and the "more info"

Zen-Venom Get Bitten

31 May 2008, 1:50 PM
#3
sara_spixels avatar

sara_spixels

New Zenner

Join Date:
May 2008
Posts:
15
Plugin Contributions:
0

Post #3 by sara_spixels

Thanks kobra - I finally figured it out :clap:

For anyone else wanting to know how to do this here's how I did it...
/includes/languages/english.php

Find the following lines:
// more info in place of buy now
define('MORE_INFO_TEXT','...more info');

I took out ...more info leaving the line like this:
define('MORE_INFO_TEXT','');

That took out the extra link :)
Here's the page again to see: http://saraspixelstudio.com/shop/ind...cPath=39_40_48

31 May 2008, 4:34 PM
#4
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Post #4 by ccembd

Thank you for posting this thread and your easy to understand resolution. Yippy no more "more info". :smile:

11 Jun 2008, 4:30 AM
#5
mollymagahy avatar

mollymagahy

New Zenner

Join Date:
May 2008
Posts:
20
Plugin Contributions:
0

Post #5 by mollymagahy

That's great with the removal of the 'more info' I needed that too, but did you figure out how to get rid of the space?

11 Jun 2008, 4:51 AM
#6
mollymagahy avatar

mollymagahy

New Zenner

Join Date:
May 2008
Posts:
20
Plugin Contributions:
0

Post #6 by mollymagahy

Okay I removed the space, here's how

edit:
includes/modules/product_listing.php

find the text:
if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {

  $lc_text = implode('<br />', $product_contents);

and change to:

if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {

  $lc_text = implode($product_contents);

:clap:

This is with the gird layout module installed though.