Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

reflex-ocasion

Members
  • Posts

    71
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    reflex-ocasion got a reaction from valquiria23 in Add a link to Manufacturers BOX - addon All Manufacturers BS   
    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
  2. Like
    reflex-ocasion got a reaction from valquiria23 in Add a link to Manufacturers BOX - addon All Manufacturers BS   
    I imagine you need it INSIDE the drop-down menu, right?

    Right now I'm busy, I'm sorry, as soon as I can, I get to it.
  3. Like
    reflex-ocasion got a reaction from raiwa in [Contribution] iOSC - mobile version of OSC on your iPhone   
    For me it is important to know if a client is in the PC version or mobile version.
     
    Search the file footer.php Mobile version
    require(DIR_WS_INCLUDES . 'counter.php'); Add below
    require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); Thus will on whos_online admin who is viewing the products and that version. Just look at the difference between product-p-123.html and product-mp-123.html for instance.
     
     
×
×
  • Create New...