Jump to content

f.figue

Members
  • Content count

    6
  • Joined

  • Last visited


Reputation Activity

  1. Like
    f.figue got a reaction from raiwa in Discount Code BS   
    @@Tsimi
     
    Thanks for your answer, I use the latest version of this addon and the BS version of oscommerce
     
    I think I've found the solution, please check if this is correct.

    In the file catalog/includes/modules/order_total/ot_discount.php

    Search (5 times):
       $order->products[$i]['price']
     
    Replace by:
      $order->products[$i]['final_price']
     
    *** $order->products[$i]['final_price'] Include the product price + the attribute price ***
     
    That is all.
     
     
  2. Like
    f.figue got a reaction from Tsimi in Horizontal Categories Menu BS   
    Hi Tsimi, thanks for this addon.

    For me does not work well when Enable parent category link  or Enable divider are True.

    Here you have the changes I've made.
    Now it works fine

    Thank you,
    figue
     
    Edit ../classes/catmenu.php
     
    Find:
              if(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) {
                // show parent category link //
                if (MODULE_CONTENT_HEADER_CATMENU_PARENT_LINK == 'True') {
                $root_link_title =  '<span"><span class="fa fa-list"></span> ' . $link_title . '</span>';
                }
                // divider added for clarity //
                if (MODULE_CONTENT_HEADER_CATMENU_DEVIDER == 'True') {
                $root_link_title .= '<li class="visible-xs divider"></li>';
                }
                
                $result .= $this->parent_start_string;
                $result .= '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '"><strong>' . $root_link_title . '</strong></a></li>';
                $result .= $this->_buildHoz($category_id, $level + 1);
                $result .= $this->parent_end_string;
                $result .= $this->child_end_string;
              } else {
                $result .= $this->root_end_string;
              }
     
     
    Replace by:
     
              if(isset($this->_data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level + 1))) {
                $root_link_title = '';
                // show parent category link //
                if (MODULE_CONTENT_HEADER_CATMENU_PARENT_LINK == 'True') {
    //            $root_link_title .=  '<span"><span class="fa fa-list"></span> ' . $link_title . '</span>';
                $root_link_title .=  '<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '"><strong>' . $root_link_title . '</strong><span"><span class="fa fa-list"></span> ' . $link_title . '</span></a>';
                }
                // divider added for clarity //
                if (MODULE_CONTENT_HEADER_CATMENU_DEVIDER == 'True') {
                $root_link_title .= '<li class="visible-xs divider"></li>';
                }
                
                $result .= $this->parent_start_string;
       //         $result .= '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '"><strong>' . $root_link_title . '</strong></a></li>';
                if ( (MODULE_CONTENT_HEADER_CATMENU_PARENT_LINK == 'True') || (MODULE_CONTENT_HEADER_CATMENU_DEVIDER == 'True') ) {
                  $result .= '<li>' . $root_link_title . '</li>';
                }
                $result .= $this->_buildHoz($category_id, $level + 1);
                $result .= $this->parent_end_string;
                $result .= $this->child_end_string;
              } else {
                $result .= $this->root_end_string;
              }
×