Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Manufacturer Image without losing manufacturer

Removing Manufacturer Image without losing manufacturer

Locked

Views: 2,507

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Aug 2008, 4:49 PM
#1
jamie_bower avatar

jamie_bower

New Zenner

Join Date:
Aug 2008
Posts:
2
Plugin Contributions:
0

Removing Manufacturer Image without losing manufacturer

On my main page is a list of all my manufacturers images that you can click to get into the products. I want to remove these images without losing the manufacturer in the drop down search box. the page makes it load slower then i would like so i just want rid of the pictures maintaining everything else. Can someone point me in the right direction?
thank you for the input!
:clap:
you can see what i mean buy going to www.pettreatsplus.com

13 Aug 2008, 5:03 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Removing Manufacturer Image without losing manufacturer

Make a copy of includes/modules/category_row.php and put it in includes/modules/YOUR_TEMPLATE/ Then edit the override file to change this:

    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
                                           'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');

to this:

    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
                                           'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories->fields['categories_name'] . '</a>');
13 Aug 2008, 5:15 PM
#3
jamie_bower avatar

jamie_bower

New Zenner

Join Date:
Aug 2008
Posts:
2
Plugin Contributions:
0

Re: Removing Manufacturer Image without losing manufacturer

Thanks you for the assistance hopefully this will work :D

27 Jan 2009, 5:32 PM
#4
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: Removing Manufacturer Image without losing manufacturer

I had a similar issue. I had uploaded a manufacturer image, but decided I didn't want it. I couldn't find a way to remove it from zencart. I had to go into phpmyadmin (A MySQL interface provided by my host) and null the entry. Is there another way?

27 Jan 2009, 8:15 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Removing Manufacturer Image without losing manufacturer

Why not...

admin/Catalog/Manufacturers

  • select the manufacturer you want to change
  • click the Edit button (the little e in a circle)
  • delete the reference to the image file in any field there
  • save your changes

(I don't have any manufacturers with images to test, but it can't hurt to try.)

Rob

30 Jan 2009, 9:42 PM
#6
apathy avatar

apathy

New Zenner

Join Date:
Sep 2007
Posts:
60
Plugin Contributions:
0

Re: Removing Manufacturer Image without losing manufacturer

rstevenson:

Why not...

admin/Catalog/Manufacturers

  • select the manufacturer you want to change
  • click the Edit button (the little e in a circle)
  • delete the reference to the image file in any field there
  • save your changes

(I don't have any manufacturers with images to test, but it can't hurt to try.)

Rob

I am having this problem too. It will not let you remove the reference.

This is a pretty funny thing to forget when designing an admin... Now im stuck with broken red x's on my cart.