Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Kurre

  1. 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 ?

  2. 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.

  3. 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.

  4. @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.

  5. @Demitry Wow thank you for you effort.

    I can't find

    echo '<ul class="nav navbar-nav">



    My file looks like

      osCommerce, Open Source E-Commerce Solutions
      Copyright (c) 2017 osCommerce
      Released under the GNU General Public License
      Horizontal Categories Menu BS v1.4
    		echo '<div id="catMenu" class="col-sm-12 hidden-xs hidden-sm">';
    	  } else {
    		echo '<div id="catMenu" class="col-sm-12">';
    	 <nav class="navbar navbar-default" role="navigation">
          <div class="navbar-header">
    		<button type="button" class="btn btn-navbar navbar-toggle" data-toggle="collapse" data-target="#bs-navbar-collapse">
    			<span class="sr-only">Toggle Navigation</span>
    			<i class="fas fa-chevron-down"></i> <?php echo TEXT_COLLAPSE_MENU; ?>
          <div class="collapse navbar-collapse" id="bs-navbar-collapse">
              <?php echo build_hoz(); ?>
    .dropdown-submenu { 
    .dropdown-menu > .dropdown > .dropdown-menu, .dropdown-submenu > .dropdown-menu {
      -webkit-border-radius:0 6px 6px 6px;
      -moz-border-radius:0 6px 6px 6px;
      border-radius:0 6px 6px 6px
    .dropdown-menu > .dropdown > a:after, .dropdown-submenu > a:after {
      display: inline-block;
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      content: "\f0da";
      margin-left: 10px;
      color: #cccccc;
    .dropdown-submenu:hover > a:after {
    .menu_custom_width {
     min-width: 200px;
        $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) {


  6. 3 minutes ago, JcMagpie said:

    No sorry got my threads mixed up your only after doing it on index and product listing not product info. Gallary is only used on product info.

    For the index and product listing your into core code changes in every part that the image is shown. So you will have to change product_listing and any index part you need to show it on. It is however still the same table of images you need to use.

    Yes that is true.

    If I want to do it in the New product for october menu on the indexpage I guess this is the code that needs to be changed.

    <a href="<?php echo tep_href_link('product_info.php', 'products_id=' . (int)$new_products['products_id']); ?>"><?php echo tep_image('images/' . $new_products['products_image'], htmlspecialchars($new_products['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'itemprop="image"'); ?></a>

    That shows the Main image, then if I want to have a mouse over that shows the Large image as the thunmbnail in that place I need to change that code somehow.

  7. 12 minutes ago, JcMagpie said:

    You will need to make a new gallery or modifiy existing one. The large images are in a seperate table and stored by products_id and sort-order so you will need to make sure you pick one sortorder as your changed image.

    I don't think this is posiable without core changes or making a new image gallary but others may know better. If your not able to do this contact a developer in comercial section and see if they can help.


    Thanks for the tip..