If this is your first visit, check our documentation. To post, register or login.

Removing the 'details' button

Started by thewand75 on 15 Mar 2010, 5:02 PM · Views: 1,785

Results 1 to 7 of 7
15 Mar 2010, 5:02 PM
#1
thewand75 avatar

thewand75

New Zenner

Join Date:
Oct 2009
Posts:
9
Plugin Contributions:
0

Post #1 by thewand75

on my home page the New Products for March section has a 'details' button underneath the products - is there a way to remove this?

:smile:

4 Jun 2010, 3:21 PM
#2
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Post #2 by neparker

bump...

I'm looking at removing it as well.

23 May 2011, 12:36 AM
#3
willy12 avatar

willy12

New Zenner

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

Post #3 by willy12

Wow, no one ever answered to this query?....I need to do the same thing or just make the buttons works. The "Featured Products" Details buttons work but not the "New Products".

If anyone has a suggestion, please advise.

Thanks

23 May 2011, 12:43 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Post #4 by haredo

Please post a link to your site without the http://www.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

23 May 2011, 3:58 AM
#5
willy12 avatar

willy12

New Zenner

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

Post #5 by willy12

Hi,
Thanks for your reply.

Actually I figured out why the Detail Buttons weren't working:

'</div><div class="tv_prodetail">' . $products_details . '</div>');

The closing tag I marked in red was missing.

It is located in: includes/modules/your_template/new_products.php on line 77

But maybe you could help me if I want to remove the Details Button on "new products" page or "featured products" page...what part of the code would I remove?

Website is : aquafinatic.com

Thanks for your help in advance.:smile:

23 May 2011, 4:44 AM
#6
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #6 by rbarbour

willy12:

But maybe you could help me if I want to remove the Details Button on "new products" page or "featured products" page...what part of the code would I remove?

I'm not sure but I don't think the details or "more info" buttons are a standard function.

If you open:
/includes/modules/COSTUM_TEMPLATE/featured_products.php

& find the following code & paste it here on the forum, sure a suggestion can be made to what part of the code needs to be removed.

    $list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($featured_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . $productsInCategory[$featured_products->fields['products_id']] . '&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . $productsInCategory[$featured_products->fields['products_id']] . '&products_id=' . $featured_products->fields['products_id']) . '">' . $featured_products->fields['products_name'] . '</a><br />' . $products_price);
12 Jan 2013, 10:30 PM
#7
jennie_pham avatar

jennie_pham

New Zenner

Join Date:
Jan 2013
Location:
San Jose, California, United States
Posts:
1
Plugin Contributions:
0

Post #7 by jennie_pham

willy12:

Hi,
Thanks for your reply.

Actually I figured out why the Detail Buttons weren't working:

'</div><div class="tv_prodetail">' . $products_details . '</div>');

The closing tag I marked in red was missing.

It is located in: includes/modules/your_template/new_products.php on line 77

But maybe you could help me if I want to remove the Details Button on "new products" page or "featured products" page...what part of the code would I remove?

Website is : aquafinatic.com

Thanks for your help in advance.:smile:

Thank you very much for your help :laugh: