Jump to content

f.figue

Members
  • Content count

    6
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Fernando Figueroa

Recent Profile Visitors

2,909 profile views
  1. Hola Raiwa, he instalado la ultima versión y creo que hay un problema en el modulo de descuento en shopping_cart.php en relacion al modulo order total. Cuando pones el código de descuento en el campo descuento y pulsas Aplicar, no se muestra el descuento en el calculo de totalización. La página se recarga co el descuento aplicado, pero no se muestra en el modulo Total Estimado. Si vuelves a pulsar el boton Aplicar, se recarga la pagina de nuevo y ya se muestra el descuento en el modulo Total Estimado. Para hacer las pruebas tienes que desloguearte y loguearte de nuevo, por lo que he tenido que añadir en el archivo logoff.php el código: if ( tep_session_is_registered('sess_discount_code') ) { tep_session_unregister('sess_discount_code'); }
  2. @@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.
  3. I have found that the discount is not applied correctly when the product has attributes with value. If the product has value 100 and the attribute has value 50, the discount only applies to product value (100). Product value: 100 attribute value: 50 discount Value: 10 Example 1: Subtotal: 150.00 Discount: 10.00 Total: 143.33 = (150 - ((10/150) * 100))) --------------------------- Example 2: Subtotal: 150.00 10% discount: 15.00 Total: 140,00 = (150 - (100 * 10%)) I hope you understand ;)
  4. 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; }
  5. f.figue

    Sitemap SEO

    Hello, I installed the SEO sitemap and have had problems with the sitemap_seo_install.php file. It does not work well. Finally the installation works fine writing at the end of the url ?reset http://***yourdomain***/sitemap_seo_install.php?reset That is all! Thank you
  6. Hi all, I'm testing this addon and I see that is a great contribution, but I regret to say that does not work fine. I have corrected the problem that exist in ./order_handler/general_functions.php on line 631. Replace: if ( stristr( $value->title, $haystack ) ) { $default = $value->code; $selected_shipping = $value->title; } By: if (!empty($haystack)) { if ( stristr( $value->title, $haystack ) ) { $default = $value->code; $selected_shipping = $value->title; } } Now I have a problem to change the text or value of the shipping line. I used the flat module and the changes are not updated. Please, any suggestions. Thank you!!!
×