Jump to content

rudolfl

Members
  • Content count

    266
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by rudolfl

  1. Hi all, I have a question about this function. What should result of following code be? $test = (int)0; tep_not_null($tst); I get 'false', but I would think value of '0' is a valid one and result should be 'true'; Looking at the code (includes/functions/general.php), on line 1140, code is: if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) I think first condition is incorrect. Instead of ($value != ''), it should be ($value !== ''). Then value of 0 is being processed correctly. Any thoughts? Thanks, Rudolf
  2. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    Hi, They can contact myself on 0414 635 468. Shop Hats From OZ. I am the original author of AfterPay plugin for osCommerse and I use it on 2 of my webstores. I believe some other people also use it successfully. Rudolf
  3. rudolfl

    Google Tag Manager

    If anyone is interested, I just uploaded instructions on how to set up Google Tag Manager (GTM) on osCommerse website. http://addons.oscommerce.com/info/9356 Rudolf
  4. rudolfl

    Change site return address?

    Hi all, This question is a bit out of scope of normal use of PayPal app. I need a way to tell PayPal where to return after payment is completed or if user cancels payment. Does anyone know where in the code this address is specified? I will be able to go from there. Thanks, Rudolf
  5. rudolfl

    Change site return address?

    Thank you for replies. I am using PayPal Express. PayPal app uses GET method to call paypal.com/webscr. So forms and HTML variables will not quite work in this case. Rudolf
  6. I will add few things as well (in no particular order) - Better Product filtering (I added facet search to add-ons, but more functionality is needed). I am actually thinking that products should not be placed into categories. Instead, each "category" must be a filter that just pulls out products that are needed to be displayed. - All SEO features are built-in. - Ability to have one back-end (admin) and multiple front-ends. Examples for such a use can be -- "retail and wholesale", "Separate stores for mens or ladies products with single ordering/stock control system", etc... - Gift cards that work better than current over-complicated plugin - Migration tool. This is a very important feature if we want to get customers aboard. Ability to migrate from osCommerce and other platforms. - Core/pluging upgrade without code changes. WordPress is a good example of this. Any localised changes (if required) are put into separate user files. Unchanged core files can then be easily upgraded to a new versions - Simplified checkout - Better reporting (perhaps integrate with Google Analytics) - Core should be completely separated from output. This will allow for proper templating and ease of adding new themes - Addition of automation for orders and shipping (I wrote a Frankenstein of a system, but this allows me to automatically print orders and postal labels as new orders arrive and allow me to "complete" the orders by scanning barcodes). Those sort of things should be integrated as much as possible - Security! - Ability to use different databases, depending on server configuration - Ability to duplicate products. - Speed! - Marketing tools integrated (recover of cart, discount offers, etc....) - Ideally, one will want a graphical UI to a page design, similar to WordPress. Rudolf
  7. Hi all, I want to have "tags" assigned to products. Tags are NOT attributes and will not be normally shown to customer, but will help me to group products and create custom filters. I am pretty sure I saw an add-on that allows adding tags to products, but can not find it. Can someone help? Thanks, Rudolf
  8. rudolfl

    Accepting Bitcoins?

    Hi all, Does anyone accept Bitcoins? I would like to start accepting Bitcoins, but keep them in my own wallet instead of signing up with merchant solutions that will pay me in "normal" currency. I looked through add-ons and found couple of solutions, but: 1. They all seem to be old (2+ years old) 2. Current setup of osCommerce does not support Bitcoin (BITC) as a currency. Yes, I can add it manually, but update engines in use do not support it yet. Any pointers? Thanks, Rudolf
  9. Hi all, Is there an add-on that provides product feed for Amazon? I have lots of products available and Amazon is now starting in Australia. Instead of manually adding products, I would like to use Amazon AWS to integrate my store inventory with Amazon. Any pointers? Thanks, Rudolf
  10. Here is some info on SEO aspect: https://www.quicksprout.com/2014/05/21/how-to-create-an-seo-friendly-infinite-scrolling-page/ Rudolf
  11. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    Just uploaded latest and (hopefully) final version 0.3 Please let me know if you encounter any issues. Rudolf
  12. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    OK, I did first version of payment module for Afterpay. I just created an add-on: https://apps.oscommerce.com/Apps&VF1bj&afterpay-payment-module-au-nz-only Some code cleanup is required as well as some error handling and some more functionality I would like to add, but generally seem to work OK. DO TEST WITH SANDBOX! LIVE TESTING IS EXPENSIVE! You will have to request sandbox credentials from Afterpay. If someone can test different browsers including mobile devices, this will be of great help. Rudolf
  13. Hi, Current API's (v2.3) is expiring in July. FB suggest moving to 2.9 Are you planning to do so? Thanks, Rudolf
  14. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    Still waiting for AfterPay approval ...... Applied for ZipPay in the meantime. Cheaper and, hopefully, osCommerce will be supported soon. Rudolf
  15. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    I have all the forms and will be submitting them tomorrow. I was promised to get an ID asap and sandbox access. Rudolf
  16. rudolfl

    Anyone made a module for Afterpay or Zippay (Australia)

    I am going to try and write one myself, as no ready modules are available. Is there a documentation on a design of osCommerce payment modules? I can trace it myself, but would be good to save time. AfterPay APIs (on the first glance) seem reasonably simple. Rudolf
  17. rudolfl

    What are different PayPal modules

    Hi all, Can someone point me to a document that describes differences between different PayPal modules? Currently, BS edition comes bundled with: PayPal Express Checkout PayPal Payments Pro (Direct Payment) PayPal Payments Pro (Hosted Solution) PayPal Payments Pro (Payflow Edition) PayPal Express Checkout (Payflow Edition) PayPal Payments Standard How do I choose? Thanks, Rudolf
  18. Thanks Jim for letting me know about the compatibility addon. I was manually adding definitions as required by plugins I was porting. With this add-on, I made my shop cleaner and more "main stream". Why those definitions were removed in EDGE is beyond me, but this is a separate discussion. With all definitions in place, categories plugin works fine now. Rudolf Rudolf
  19. Thanks Jim, That explains why it does not work. Unfortunately, Modular Navbar add-on is not compatible with 2.3.4BS EDGE. I guess, I can get it to work, but was wondering if there is an add-on to show categories in menu that works on EDGE? I really want to add categories to hamburger button to easily show them on mobile devices. Right at the moment, there is no easy way to get mobile devices to display categories in user-friendly easy-to-find manner. Rudolf
  20. Hi, Can someone give me a hand? Trying to install "Categories Module for Modular Navigation Bar". Copied all the files, installed the module, but they do not appear on the navbar. Apache log does not show any errors. I am using 2.3.4BS edition. Couple of things that bother me: 1. docs say "This software requires the Modular Navigation Bar Addon. Install that before installing this software". I believe BS edition already has this. Am I right or I should be installing this add-on 2. Files are installed under "/modules/content", but there is also "/modules/navbar_modules". Should this functionality really be under navbar_modules? Thanks, Rudolf
  21. rudolfl

    What are different PayPal modules

    Thank you, This makes things much clearer. Rudolf
  22. Yes, of course. Me and my fingers.. But you got the idea. This is why I posted it in dev forum, not reported a problem. I was not sure if behavior I see is correct or not. My change does not break the existing code (as far as I tested), but does handle integer '0' correctly. Whether this function should or should not be used for integer values is a different matter. I did not see any documentation that suggests use of it and function certainly accepts integer values happily. I came from C background and having loose types in PHP certainly gets on my nerves :-) Rudolf
  23. Hi, I agree, this is what function should be used. However, this is not the case -- it is being used to check integer values. I found this while debugging shipping module. In includes/classes/shipping.php. Function cheapest() (Line 98), if (isset($quotes['methods'][$i]['cost']) && tep_not_null($quotes['methods'][$i]['cost'])) Cost is checked with this function. Name of function is misleading, as it implies value is checked for being a "null" (not set) and there is no indication (or checks for that matter) that function should only be used with strings. Rudolf
  24. Hi all, I read the forums and looks like this is a well-know (for a while) issue. osCommerce does not process second street address line from PayPal. As a result, some orders have incomplete addresses. i saw some "unofficial" fixes, but could not apply them as they did not correlate with the code I have. osCommerce 2.3.4 PayPal express v 1.2 API version 60.0 Is there any fix? Thanks, Rudolf
  25. rudolfl

    Smart Filtering?

    Thank you, I will check them out. Rudolf
×