Jump to content
Latest News: (loading..)

raiwa

♥Ambassador
  • Content count

    3,018
  • Joined

  • Last visited

  • Days Won

    99

raiwa last won the day on October 13

raiwa had the most liked content!

About raiwa

Profile Information

  • Real Name
    Rainer Schmied
  • Gender
    Male
  • Location
    Sant Iscle de Vallalta, Barcelona, Spain
  • Website

Recent Profile Visitors

42,525 profile views
  1. raiwa

    QTPro BS

    @Yepi hello Peter, I do not know which exact store version you are using. For the $_POST and $HTTP_POST_VARS difference one explication would be, if you are using ther latest CE FROZEN edition, the shopping cart actions have been moved to its own class and would need the $HTTP_POST_VARS to be in the global list. Meanwhile $_POST is super global and always available. Otherwise you have several modifications, try to revert all of them step by step to localize the changes which produce the problem. I had a look on your codes but can't see it. You do not have the add products script duplicated in application_top.php and includes/actions/add_product.php, do you??
  2. raiwa

    QTPro BS

    @altoid, Steve, sorry I forgot this detail: Sort order support and configuration entry is only added if the sort order column is detected on module installation. As you added the sort order at a later point, you need to uninstall and reinstall the product_info/QTPro options module. Then you will see the Configuration entry "Use Option/Attribute Sort Order" below " Show default "Please Select" option"
  3. raiwa

    Fake accounts

    Action recorder uses in contact us and other core implementations the customer id and/or user name to identify a user and store his uses of the form/submit action/login action in admin etc. When a visitor tries to create an account only the content of the input fields could be used and compared to existing registries. A hacker/malicious user/bot will change all data from attempt to attempt. What data is left to register and compare: the visitors IP But, any hacker/mailicious user will be able to change his IP from attempt to attempt. So no comparable data for action recorder is available. Do I miss something?
  4. raiwa

    FIRSTPLUSZONES Showing PHP String name?

    Seems you have missed to copy the language file into the language directory. It should have the same name like the shipping module and be located in: includes/languages/english/modules/shipping/[name_of_your_shipping_module.php] The language constants are defined in this file.
  5. raiwa

    State Selector for BS

    If a country does not have zones in the oscommerce zones table, it doesn't mean that zones are not used. That's why the input field is still available for manual customer input like in the standard forms. If your modification is good for your store ok, but it is not a generic modification which should be added to the add-on package (in my opinion).
  6. raiwa

    State Selector for BS

    Thank you , but this should be posted in the general bugs report: https://forums.oscommerce.com/topic/412984-edgefinalfrozen-bug-list/?tab=comments#comment-1771089
  7. raiwa

    QTPro BS

    I still have to update the add-on for unmodularized shopping cart. Sorry!
  8. If you need to add the 'center-block' class to center the logo, you have to fill in all the parameters before the $bootstrap_css parameter. The 'true' is for the $responsive parameter, the others ($width, $height, $parameters) are unused and stay therefore empty. Instead of '' (empty) you can also see "null" in other examples.
  9. raiwa

    QTPro BS

    Hello Steve @altoid, I just checked again and on my test/develop store the sort order in the drop down menu corresponds to the sort order etablished in admin attributes manager. Do you have in your product info qtpro attributes module this entry: Use Option/Attribute Sort Order and set it to "true" If not you may need to update to the latest version. The other solution would be to add "desc" behind the sort order in the pad_base queries: // product options sort order support if ( defined('MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER') && MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER == 'True' ) { $products_attributes_sort = ' order by pa.products_options_sort_order desc'; } else { $products_attributes_sort = ''; } this inverts the sort order.
  10. raiwa

    Feedback for raiwa

    If you buy an addon you are buying software without instalation service. Each addon package includes instructions for instalation. However you’ve got free support through 20 mails including one free customization and advices for problems unrelated with the purchased add-ons. You have never engaged me any job and didn’t pay for any request.
  11. raiwa

    QTPro BS

    Supposed the drop down menu sort order is correct, it seems the sort order support for the table module is incorrect. Please try this chang ein includes/modules/content/product_info/cm_pi_qtpro_table.php: find: // get the option names $products_options_name_query = tep_db_query("SELECT distinct popt.products_options_id, popt.products_options_name FROM products_options popt, products_attributes patrib WHERE patrib.products_id='" . (int)$_GET['products_id'] . "' AND patrib.options_id = popt.products_options_id AND popt.products_options_track_stock = '1' AND popt.language_id = '" . (int)$languages_id . "' ORDER BY popt.products_options_id"); // build array of attributes price delta $attributes_price = array(); $products_attributes_query = tep_db_query("SELECT pa.options_id, pa.options_values_id, pa.options_values_price, pa.price_prefix FROM products_attributes pa WHERE pa.products_id = '" . (int)$_GET['products_id'] . "'"); $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from products_attributes pa, products_options_values pov where pa.products_id = '" . (int)$this->products_id . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'" . $products_attributes_sort); while ($products_attributes_values = tep_db_fetch_array($products_attributes_query)) { $option_price = $products_attributes_values['options_values_price']; if ($products_attributes_values['price_prefix'] == "-") $option_price= -1*$option_price; $attributes_price[$products_attributes_values['options_id']][$products_attributes_values['options_values_id']] = $option_price; } change to: // product options sort order support if ( defined('MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER') && MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER == 'True' ) { $products_options_sort = 'popt.products_options_sort_order'; } else { $products_options_sort = 'popt.products_options_name'; } // get the option names $products_options_name_query = tep_db_query("SELECT distinct popt.products_options_id, popt.products_options_name FROM products_options popt, products_attributes patrib WHERE patrib.products_id='" . (int)$_GET['products_id'] . "' AND patrib.options_id = popt.products_options_id AND popt.products_options_track_stock = '1' AND popt.language_id = '" . (int)$languages_id . "' ORDER BY " . $products_options_sort); // build array of attributes price delta $attributes_price = array(); // product options sort order support if ( defined('MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER') && MODULE_CONTENT_PRODUCT_INFO_QTPRO_OPTIONS_USE_OPT_ATTR_SORT_ORDER == 'True' ) { $products_attributes_sort = ' order by pa.products_options_sort_order'; } else { $products_attributes_sort = ''; } $products_attributes_query = tep_db_query("SELECT pa.options_id, pa.options_values_id, pa.options_values_price, pa.price_prefix FROM products_attributes pa WHERE pa.products_id = '" . (int)$_GET['products_id'] . "'"); $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from products_attributes pa, products_options_values pov where pa.products_id = '" . (int)$_GET['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'" . $products_attributes_sort); while ($products_attributes_values = tep_db_fetch_array($products_attributes_query)) { $option_price = $products_attributes_values['options_values_price']; if ($products_attributes_values['price_prefix'] == "-") $option_price= -1*$option_price; $attributes_price[$products_attributes_values['options_id']][$products_attributes_values['options_values_id']] = $option_price; }
  12. raiwa

    QTPro BS

    Hello Steve @altoid, Please check if you have activated sort order support in the ajax attribute manager config class: $this->add('AM_USE_SORT_ORDER' , false); Then you can controle the sort order in ajax attribute manager moving the options/attributes with the arrows on the right. This works without additional installations, but you have to do it with ajax attribute manager. In the standard products_attributes.php page, sort order control is only available with the additional sort order add-on. Sort order support is already included in the pad_base class. In the product info qtpro products attribute content module, you have to switch on the option: "Sort Order"
  13. Just do it. But if for an addon, please add the suggested default for users who forget to add all levels they use in their store.
  14. You can include the root level in your switch case statement: switch ($level) case 1: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 2: $result .= '<i class="text-info fas fa-sign-out-alt pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 3: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; color:#3cbecc"></i>'; break; default: $result .= $this->root_start_string; } The default value will apply on the root categories (level 0) and all other levels not matching 1-3. This is great to apply the same style for all subcategories, but doesn't allow to use different styles for each level. Or do I miss something?
×