Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited


About omulec

  • Birthday 02/16/1978

Profile Information

  • Real Name
    Szymon Głuch
  • Gender
  • Location
    Warsaw, Poland
  1. omulec

    ULTIMATE Seo Urls 5 - by FWR Media

    Force cookies in you admin and the osCsid session ID will disappear from the urls. Regards Szymon
  2. omulec

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi there. I've installed USU5 and was happy with it. Working really nice and smooth. After setting the page I started the test of all functions and I've noticed that I have some small problem during the checkout with addresses. I can use multiple defined, I can add and delete. When I want to edit however I receive: The line 103 from database.php is the return line in the following function function tep_db_num_rows($db_query) { return mysql_num_rows($db_query); } The line 50 from general.php is header('Location: ' . $url); as the part of the USU5 function function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } if ( false !== strpos($url, '&') ){ $url = str_replace('&', '&', $url); } session_write_close(); header('Location: ' . $url); exit; } Any hint what can be messed up? Error in the code or some error change in the database? Regards Szymon
  3. omulec

    Shipping configuration

    Dear All, I've checked a lot of modules and solutions, unfortunately I didn't find a configuration that fits. Probably is a general issue for all the shops. As some local shops, I would like to have few options for customer - pick up in the store, local delivery and courier. Self pick up is existing and it's out of the discussion. Local delivery can be found or created out of some existing, but I need to have it active only for defined city (not post codes as there is over 100 post codes in my city). Courier is existing with it's own tracking. On top of that I will use ship2pay module to show selected payments for chosen shipping method. 1) Most of the modules create the cost table related to weight. I would like however to offer free delivery for local and courier option related to a order total cost. I don't need weight restriction, so anyone would advise which code is responsible for that or suggestion how to modify that? 2) I would like to restrict local delivery to my city, so I was trying to play with the zones (countries, zones, tax zones). I can restrict the shipping zone to one of the defined tax zones that I set up related to defined zones. But I don't have any clue how the address can be related to such zone. Once registering the user have to fill some address fields that come to my mind (Suburb, Post-code, City, State/Province) but it seems that no one of those is related to a definition of the zones. Any hint on this? Any hints on the above appreciated. Regards Szymon
  4. Thanks Jim, after uploading that product_filter.php the last part, the front-end filter started with the results. Thanks for the work on this, and for the help. I understood the filters section in admin as I told you, once I realized that it must be related strictly to a specification values added if it's possible to add few "filters". The other way it would be a nonsense to have possibility to define few filters in one specification. And don't get me wrong, I just think that for new users the section on the right side in admin when you click add new filter or you edit existing somewhere around the filed where you input the filter should have some comment under explaining that the field should contain the filter values related to values defined for the specification: extact specification if defined value is exact, range of values if defined value is ranged, etc. Or at least the field itself should be called rather Filter Value instead of Filter. BTW - as still there are missing definitions in the files I see in this section when adding new filter or editing one the 3 buttons - Save, Cancel and IMAGE_SORT. What is supposed to do with IMAGE_SORT? It returns the list of filters in the specification, the same way as Cancel button do. You said that you are just working on a v 1.2, but at this moment I have a working package that with your help we tuned here. If to the files that you uploaded to http://kymation.com/pub/products_specifications_1_1_2.tar.gz you will add the missing </div> in catalog/includes/modules/product_listing.php and the catalog/includes/languages/english/products_filter.php it can be a working v 1.1 for noobs like me ;) Again, thanks for this great contribution and work spent on developing and supporting. If you would like to have one to test a little v 1.2, I volunteer.
  5. omulec

    Article Manager v1.0

    Jack, do you mean this?: If so, I'm not a coder, or sql professional - does it mean that I should delete this empty row once selected from the table? If so, why it's not corrected simply in original sql update file? Kind regards Szymon
  6. Ok, starting with the top: There is one group of specifications at the moment. Inside there is one specification at this moment with settings: Filter Class: exact, Display the Filter as: pulldown, Filter Show All: True, Enter Specification Values as: pulldown. Its active to be visible in comparison, product info page and in filter. This Specification has 2 values added, both applied to some products. There are two filters defined, one of them has the same name as the specification (not the same as the specification defined values). Now, after your questions I had some thought about those filters. I applied the second filter to this specification just to see what will happen on the front-end. But now I realized that probably each filter is rather a "value to be filtered" so I renamed filters into the same names as the specification values that I've added, and they became active. I think that this should be better described in documentation or in the filters section in admin, not to create the misunderstanding. So, the filter became active now, and let's go to a next step as I managed to select a value to filter the product listing. Now it's displaying: I've checked the original archive with the contribution as well as the updates you linked in this thread. There is no product_filter.php in catalog/includes/languages/english, so probably the sript is missing some definitions that should be in this file. Regards Szymon
  7. Filter class exact, display as pulldown. I added some products with selected specification values that were defined previously in the specifications, because maybe you misunderstood me before. When you click on the pulldown it's showing only inactive names of the filters, no values.
  8. I suppose that you are talking about assigning them inside a specification in filter section. I defined the values to a specification and than added to products, but I just don't know where to assign a value to the filter. There is just one mysterious button once I edit a filter close to "save" and "cancel" but due to definitions it's called "IMAGE_SORT", but even if I hit it nothing happens in theory. I've checked the manual and I don't see any explanation where to assign them too. Regards Szymon
  9. Jim, As far as formatting of front end is fine and it's listing the products now without any problems as well as admin side works, there is a problem with filters enabled by default. They appear in the right places and look good, but they are inactive. The drop-down have just the default field "Show all" and once clicked only one additional and inactive named the same as the specification/filter. The values to be selected even if defined properly in admin and added properly to products doesn't appear as a list of a drop-down. Any hint on this? Regards Szymon
  10. omulec

    Article Manager v1.0

    Dear Jack, As for test 1.57_6 installed on top of stock OSC 2.3.1. with Header Tags SEO V 3.2.6. The addon appears in admin, it's possible to define authors and configure it. Trying to enter topics/articles however returns the error: As alexnut mentioned I've changed the database engine from MyISAM to InnoDB, but it doesn't fix it. And it's not a fault of any modification of your code as I've used DOT files for both contributions. Any ideas? Regards Szymon
  11. omulec

    Extra Product Fields 1.0

    Ok, as nobody helped, I managed to spend an evening to learn more about PHP and I've found a solution by myself. The idea was to have the filter drop-downs not as a vertical list with the name of each drop down above it, but to compose it in a nice horizontal line side by side with the name of the drop down filter inside it as a default not filtered. To make it you need to: 1) Open index.php and to change line: echo sprintf(TEXT_RESTRICT_TO, $e['label'], tep_draw_pull_down_menu($e['field'], tep_build_epf_pulldown($e['id'], $languages_id, array(array('id' => '', 'text' => TEXT_ANY_VALUE))),'', 'onchange="this.form.submit()"')) . '<br />'; with echo sprintf(TEXT_RESTRICT_TO, '', tep_draw_pull_down_menu($e['field'], tep_build_epf_pulldown($e['id'], $languages_id, array(array('id' => '', 'text' => $e['label']))),'', 'onchange="this.form.submit()"')) . ' '; 2) Open all your main language files (here example of default english) /includes/languages/english.php and change the line: define('TEXT_RESTRICT_TO', 'Select <b>%s</b> : %s'); with define('TEXT_RESTRICT_TO', '<b>%s</b>%s'); Those mdoification change only the code added with EPF.
  12. omulec

    Extra Product Fields 1.0

    Is there anyway to change the look of the filter on product listing page from this vertical to nice horizontal, where the description if above the drop down? I have been looking into the code to think about it, but for me as a noob it's quite impossible. The code looks like it's general self repeating creation of drop down if they exist. This way I don't have any clue how I can position the drop downs... If my feeling is right, the piece responsible for that is in product_listing.php: // begin extra product fields $extra = ''; foreach ($epf as $e) { if ($e['listing']) { $mt = ($e['uses_list'] && !$e['multi_select'] ? ($listing[$e['field']] == 0) : !tep_not_null($listing[$e['field']])); if (!$mt) { // only list fields that aren't empty $extra .= '<br><b>' . $e['label'] . ': </b>'; if ($e['uses_list']) { if ($e['multi_select']) { $epf_values = explode('|', trim($listing[$e['field']], '|')); $epf_string = ''; foreach ($epf_values as $v) { $epf_string .= tep_get_extra_field_list_value($v) . ', '; } $extra .= trim($epf_string, ', '); } else { $extra .= tep_get_extra_field_list_value($listing[$e['field']],$e['show_chain'] == 1); } } else { $extra .= $listing[$e['field']]; } } } } // end extra product fields Anyone did this?
  13. Thanks Jim, formatting came back to normal ;) Regards Szymon
  14. Thanks Jim for such extensive service on this. And sorry for being such pain in the ass as a tester ;P At this moment the fix of product_listing.php changes the situation in the way that the product list is already displayed, however the formatting still goes in the way prtscr'ned in my first post. The only thing that comes to my mind is that the css is loosing it's ability to fit both columns and main content in the limited space. I may be wrong, but I have a feeling that the main content because of some strange reason becomes too wide loading product_listing.php and both columns being position related drop down-left...
  15. Jim, Thanks for the update. Right now the definitions on the admin side are corrected in some places. I'm not a coder so I don't know if it's relevant, but once adding a new product to a category (doesn't matter if any specification is applied to that category or not) at the bottom of new product page there is still a piece of the code, which may be important: jQuery(document).ready(function () {$('#products_date_available').datepicker({ dateFormat: 'yy-mm-dd' });}); From the front-end the main page still loose it's formatting once you click on any category and doesn't display any existing products on the listing.