Jump to content
Sign in to follow this  
valquiria23

Add a link to Manufacturers BOX - addon All Manufacturers BS

Recommended Posts

Hola Alfonso Gonzalez @reflex-ocasion

I want to add a link in the Manufacturers box with the text " All Manufacturers" linking to the file allmanufacturers.php .

can anybody help me?

Best regards.

Valqui

 


Please do not falsify my words. Are you interested in knowing who does it? Send me a PM.

The Phoenix Club won't allow me to join - why not?

Setting up a new Frozen site with so many nice addons available on the market. 

:heart: Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Something fast

Edit catalog/includes/modules/boxes/bm_manufacturers.php

Search lines 65, 66 and 67

          $data = tep_draw_form('manufacturers', tep_href_link('index.php', '', $request_type, false), 'get') .
                     tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 100%"') . tep_hide_session_id() .
                     '</form>';

 

Add below

          $data .= '<a href="' . tep_href_link('allmanufacturers.php') . '">' . MODULE_BOXES_MANUFACTURER_BOX_ALLMANUFACTURERS . '</a>';

 

Add to language file catalog/includes/languages/english/modules/boxes/bm_manufacturers.php

  define('MODULE_BOXES_MANUFACTURER_BOX_ALLMANUFACTURERS', 'All Manufacturers');

 

It would be necessary to polish the code but as it is something quick...

 

Best regards from Spain

Share this post


Link to post
Share on other sites

Gracias Alfonso  @reflex-ocasion

Voy a probar la primera solucion, pero si podes ponerlo dentro del drop-down menu seria genial!!

Beso

Valqui


Please do not falsify my words. Are you interested in knowing who does it? Send me a PM.

The Phoenix Club won't allow me to join - why not?

Setting up a new Frozen site with so many nice addons available on the market. 

:heart: Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×