Forums / General Questions / remove.. "more info"

remove.. "more info"

Views: 2,082

Results 1 to 8 of 8
23 Feb 2012, 12:51 AM
#1
robbin21973 avatar

robbin21973

Zen Follower

Join Date:
Feb 2009
Posts:
153
Plugin Contributions:
0

remove.. "more info"

On my page of new products and product listing, on the items that are sold out, it also says "more info" although it does not on the items that are still in stock. I want to remove this. Example:

http://www.polishpotterystore. com/shopping/index.php?main_page=products_new&disp_order=6&page=5

I also want to remove it from the product listing pages. I have not been able to figure this out and so far, searching the forums has given me no clues.

Thank you in advance.

23 Feb 2012, 1:06 AM
#2
israelimports avatar

israelimports

New Zenner

Join Date:
Jan 2012
Posts:
12
Plugin Contributions:
0

Re: remove.. "more info"

From what I can see you this is in your /includes/languages/english.php

Line #356 : define('MORE_INFO_TEXT','... more info');

Just redefine it to be blank or what ever text you want....

Line #357 : define('MORE_INFO_TEXT',' ');

That should do it... At least it did on my test server.

23 Feb 2012, 1:48 AM
#3
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: remove.. "more info"

Robbin,

Gorgeous piece you have as your avatar. Is that a butter or a cheese?

The best way to learn is to try stuff. But, back it up first.

23 Feb 2012, 2:00 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: remove.. "more info"

Wouldn't a PM have been more appropriate than hijacking the thread with a personal question?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Feb 2012, 2:42 AM
#5
robbin21973 avatar

robbin21973

Zen Follower

Join Date:
Feb 2009
Posts:
153
Plugin Contributions:
0

Re: remove.. "more info"

israelimports:

From what I can see you this is in your /includes/languages/english.php

Line #356 : define('MORE_INFO_TEXT','... more info');

Just redefine it to be blank or what ever text you want....

Line #357 : define('MORE_INFO_TEXT',' ');

That should do it... At least it did on my test server.

Yes, this leaves the area blank but the space where it would have been remains making it look silly. Can I delete this altogether? When I deleted that strain from the CSS file, it said MORE_INFO_TEXT on my site so I put it back.

23 Feb 2012, 11:00 AM
#6
israelimports avatar

israelimports

New Zenner

Join Date:
Jan 2012
Posts:
12
Plugin Contributions:
0

Re: remove.. "more info"

I believe this will work for getting rid of that annoying (silly) space.

The code is on line 143 of /includes/modules/product_listing.php

     $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>';

You should be able to remove this entire line from the script and it will eliminate the the spacing.

23 Feb 2012, 11:19 AM
#7
israelimports avatar

israelimports

New Zenner

Join Date:
Jan 2012
Posts:
12
Plugin Contributions:
0

Re: remove.. "more info"

Sorry,

Along with that on line 144 in /includes/modules/product_listing.php

   $lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);

Change to

 $lc_text .=  zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);

This will eliminate the extra <br /> tag in-between the price and the image it's self.

1 Mar 2012, 9:21 PM
#8
robbin21973 avatar

robbin21973

Zen Follower

Join Date:
Feb 2009
Posts:
153
Plugin Contributions:
0

Re: remove.. "more info"

Unfortunately that did not do anything. :(