Jump to content
Sign in to follow this  
valquiria23

Add a link to Manufacturers BOX - addon All Manufacturers BS

Recommended Posts

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

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  

×