Jump to content
Latest News: (loading..)

the-raven

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Chris
  1. the-raven

    Horizontal Megamenu

    I was able to get this megamenu to work correctly using an older version of oscommerce (Frozen) which uses Bootstrap 3, but the current version (https://github.com/gburton/Responsive-osCommerce) is using Bootstrap 4 and seems to be creating problems with the layout because several of the tags are discontinued. I have tried removing and substituting tags, but I was still unable to get the mega menu to appear correctly on my local site. Any help would be appreciated. Example: tried replacing <li> tags with <div class="nav-item"> <a> to <a class="nav-link" ............>
  2. the-raven

    [Addon] Shopping List

    I was comparing code from Shopping List 1.0.2, and may have found an error. My shopping_list.php is customized, but looking at the new 1.0.2 version. Located in catalog/shopping_list.php You have moved $products_name = below STOCK_CHECK , and attributes. I believe this would prevent them from displaying. if (STOCK_CHECK == 'true') { $stock_check = tep_check_stock($product_data['products_id'], $product_data['products_quantity']); if (tep_not_null($stock_check)) { $products_name .= $stock_check; } } // Get options/attributes if any if ( isset ($product_data['attributes']) && is_array($product_data['attributes'] ) ) { reset( $product_data['attributes'] ); foreach ( $product_data['attributes'] as $attributes_value ) { $products_name .= ' <br /><small><i> - ' . $attributes_value['products_options_name'] . ' ' . $attributes_value['products_options_values_name'] . '</i></small>' . PHP_EOL; } } $products_name = ' <span class="td">' . $products_link . '<strong>' . $product_data['products_name'] . '</strong></a>' . PHP_EOL; Thanks
  3. the-raven

    [Addon] Shopping List

    @kymation Jim A couple of issues I have encountered while testing this add-on on OS 2.3.4 on my localhost machine, with SSL disabled. When you are on the product_info.php page, and try to add a product to the shopping list with SSL disabled, you are redirected to https:// which doesn't exist if SSL is off. I had to change 'SSL' to 'NONSSL' to make it work function dialog_add_to_list( $self_filename, $products_id, $languages_id=1, $currencies ) { $dialog = ' <div id="add_new_dialog" title="' . SUBTITLE_PRODUCT_EXISTING_LIST . '" class="hide">' . PHP_EOL; $dialog .= ' ' . tep_draw_form( 'list_add_product', tep_href_link( $self_filename, tep_get_all_get_params( array( 'action' ) ) . '&action=list_add_product', 'NONSSL' ), 'post', 'class="shopping_list"' ) . PHP_EOL; Another issue: When you are on the 'shopping_list.php' page, and click the 'try to add/change shopping list', trying to create a new list, nothing happens. action=list_change_product is called but no change, should it be action=list_new ? Another issue: shopping_list_id is ambiguous function id_in_shopping_list( $customers_id, $shopping_list_id, $shopping_list_products_id ) { $shopping_list_query_raw = "select sl.shopping_list_id from " . TABLE_SHOPPING_LIST . " sl join " . TABLE_SHOPPING_LIST_PRODUCTS . " slp on (sl.shopping_list_id = slp.shopping_list_id) where sl.customers_id = '" . (int)$customers_id . "' and sl.shopping_list_id = '" . (int)$shopping_list_id . "' and slp.shopping_list_products_id = '" . (int)$shopping_list_products_id . "'"; Thank you for your time.
×