Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Kurre

  1. I guess it is this code that I should change ?


        echo tep_draw_form('search', 'categories.php', '', 'get');
        echo HEADING_TITLE_SEARCH . ' ' . tep_draw_input_field('search');
        echo tep_hide_session_id() . '</form>';
                    <td class="smallText" align="right">
        echo tep_draw_form('goto', 'categories.php', '', 'get');
        echo HEADING_TITLE_GOTO . ' ' . tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onchange="this.form.submit();"');
        echo tep_hide_session_id() . '</form>';


  2. 14 minutes ago, BrockleyJohn said:

    The usual approach is to edit the field definition in create_account and make it default to the country of the store

            echo tep_get_country_list('country', STORE_COUNTRY, 'required aria-required="true" aria-describedby="atCountry" id="inputCountry"');

    If you want to use a different country, substitute the country_id for STORE_COUNTRY

    Many thanks, that worked out great!

  3. 31 minutes ago, raiwa said:


    This module is not intended to be used to show a different logo for mobile and desktop view. It is intended to show the optimized size of the same logo for each device size/resolution.

    If you wish to show different logos for mobile and desktop/tablet, you have to use the bootstrap helper classes. It's a different approach.

    Ok so I have misunderstood the purpose of this module. What i want is one logo for pc/tablet and one smaller one for mobiles, is there such a module ?

  4. I use CE bootstrap version.

    I have made a Christmas theme and I use this mod Store logos multi but it doesn't show the smaller logo i mobile view, I don't know why.

    Can someone check in their mobile if it shows the logo DistansData webshop without the Christmas presents, or it is like it is for me that it shows the banner logo with Christmas presents in mobile view ? I thought if it is some cache problem in my mobile or something..

    Look at it here https://www.distansdata.se/jultema/

  5. On 12/7/2019 at 1:30 PM, YePix said:

    for all who use ajax_onchange_price.php. Output of the prices net and gross including price change for attributes

    ajax_onchange_price.php find this code

          $products_price = $currencies->display_price($modified_price, tep_get_tax_rate($product_info_ajx['products_tax_class_id']));

    and replace with

          $products_price = '<div><font color="#666666"> ( ';
          $products_price .= $currencies->display_price($modified_price, '');
          $products_price .= TAX_INFO_OFF . ' )</font></div>';
          $products_price .= $currencies->display_price($modified_price, tep_get_tax_rate($product_info_ajx['products_tax_class_id']));


    Is this a mod with that file ?

  6. Thanks everyone for answer!

    To the old version of osCommerce I remember there was a mod that you could use that let the customer choose if he wanted to see prices excluding or including VAT in the shop.

    But I can use this that shows what it is anyway so the customers know, I have a client that wants to show prices excluding VAT but i Sweden it's more normal to show them including VAT.

  7. 9 hours ago, puggybelle said:

    Hi @Demitry

    I'm not seeing what @Kurre is at all.  The Categories button hovering over the navigation bar.

    I wonder if he doesn't have the Hamburger button enabled in admin/modules/navbar modules

    My categories button is displaying on its own, independent of any interference from other things on the screen.

    However, my navbar modules now reside 'inside' that Hamburger button.  When clicked...you see all of the links to the Cart, My Account, etc.

    I expect that's what I'm supposed to be seeing in mobile view?

    - Andrea

    I have the hamburger button enabled.

  8. @Demitry Thank you anyway.. It worked with @puggybelle code when I look in PC but in mobile view it doesn't work as it should..

    I inserted this in user.css

    /* this will center the menu links */
    .navbar-nav2 { width:100%; text-align:center; font-size:20px; font-family:helvetica; }
    .navbar-nav2 > li { float:none; display:inline-block; } 

    and I changed this in catalog/includes/modules/content/header/cm_header_catmenu.php

    if (empty($class)) $class = 'nav navbar-nav'; 


    if (empty($class)) $class = 'nav navbar-nav2'; 

    But then the mobile view isn't as it should. It looks and works like on PC the menu, it is in one row and submenus popup out like that.