Jump to content

raiwa

♥Ambassador
  • Content count

    3,363
  • Joined

  • Last visited

  • Days Won

    114

Everything posted by raiwa

  1. raiwa

    Newbie Frozen install Update Currency Problem

    Auto Update Currencies V 1.0
  2. Hello @Rwe, ht_product_schema is a core module and can't therefor take in consideration the related products add. Schema tags are constantly updated. I'll have a look and try to address this for the next update. Anyway I would say it's not really very important. Thank's for the report anyway.
  3. raiwa

    Newbie Frozen install Update Currency Problem

    Sorry, you have to apply also these previous updates: https://github.com/gburton/Responsive-osCommerce/commit/737363f01b1135cc42f2ae90577da7e2520df72b https://github.com/gburton/Responsive-osCommerce/commit/0e7f0879e56ca68b363232efcdc8ba079fb03f8a https://github.com/gburton/Responsive-osCommerce/commit/003c59b91239de501ee5482cb903e95de696b5ee
  4. raiwa

    Newbie Frozen install Update Currency Problem

    It has been included in EDGE at a later point after the FROZEN release. See: https://github.com/gburton/Responsive-osCommerce/commit/20dd3c7d643490d05e3efa5428aacaf4d11132c9
  5. Fixer works only with EUR base currency. Pleasae see this post:
  6. raiwa

    Auto set currency based on ip

    For me in Spanish browsers its correct set by default installation. I believe its picking up the os settings?
  7. Hello @MITCH70, the mods in order.php should only be applied if you are using paypal standard. The column is then added when the ot_discount module is installed (paypal standard must be installed).
  8. raiwa

    Auto set currency based on ip

    Language ids include country specific part, see your browser preferences. And in the english language file see at the very beginning: // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. // Array examples which should work on all servers: // 'en_US.UTF-8', 'en_US.UTF8', 'enu_usa' // 'en_GB.UTF-8', 'en_GB.UTF8', 'eng_gb' // 'en_AU.UTF-8', 'en_AU.UTF8', 'ena_au' @setlocale(LC_ALL, array('en_US.UTF-8', 'en_US.UTF8', 'enu_usa'));
  9. raiwa

    Auto set currency based on ip

    Language is auto selected by browser language settings. EDIT: Nothing illegal, each browser and WEB Site uses this. Just check your browser settings and visit multilanguage sites. Each site which supports your preferred browser language will show the site in that language.
  10. raiwa

    Auto set currency based on ip

    What is very easy to do is to link the currency to the language. In admin: Configuration: My Store: Switch To Default Language Currency set to true Then in each main language file, set the desired currency in aprox. line 39-40: // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'USD');
  11. raiwa

    Auto set currency based on ip

    Hello @alex121121, If you search the marketplace for your title you'll get several promising results. The best in my opinion: Auto change currency based on IP address It may need some minor updates, but I believe it shouldn't be too difficult.
  12. Maybe just that there are now versions for BS3 and BS4 included
  13. New Version 5.0.0. uploaded: Discount Codes BS 5.0.0. Changes: Added support for EDGE BS4 Removed ht-Module Moved validation script from ht to content modules Moved code from application_top.php into discount_code.php Added checkout payment content module to replace code injection in HT module Added install warning for required OT module to content modules Added condition to show "Apply" button in shopping cart module only if "Ship in Cart" Order Totals Module is present. Updated template names to actual naming standard Updated template calls in content modules to actual auto inclusion Moved html output to content module template files Normalized True/False typo in OT module Hooked modifications in checkout_process.php and paypal standard files. @MITCH70, thanks for testing @Tsimi, maybe the main description of the addon could be updated. I have no privileges to edit it, can you please.
  14. raiwa

    2nd Product Image replaces main image

    You should go directly to bootstrap. Otherwise you'll double the work to do. If you have more than one product image, you have to repeat the main product image as the first large image.
  15. @MITCH70, Sorry, my fault. I forgot to update that file in the package. Please use this new one. Only replace catalog/discount_code.php: Discount_Codes_5.0.0_BS_beta_02.zip
  16. Did you replace discount_ codes.php?
  17. @Tsimi, @MITCH70, Here the full package Discount Code 5.0.0. beta_02. For now only EDGE BS4 files included. Once checked and approved I'll add the FROZEN BS3 files. The only difference will be in the content module template files. Version 5.0.0 BS: Added support for EDGE BS4 Removed ht-Module Moved validation script from ht to content modules Moved code from application_top.php into discount_code.php Added checkout payment content module to replace code injection in HT module Added install warning for required OT modules to content modules Added condition to "Apply" button in shopping cart module to show it only if ship in cart Order Totals Module is present. Updated templates name to actual naming standard Updated templates call in content modules to actual auto inclusion Moved html output to content module template files Normalized True/False typo in OT module Hooked modifications in checkout_process.php and paypal standard files. Installation and Upgrade Instructions are updated. Please try and check the Instructions for errors. I tested the paypal standard modifications and they work. Discount_Codes_5.0.0_BS_beta_02.zip
  18. 2.3.4.1 FROZEN and previous EDGE's BS3: ext/bootstrap/js/bootstrap.min.js line 2: * Bootstrap v3.3.7 (http://getbootstrap.com) or 2.3.4.1 EDGE BS4 includes/template_bottom.php line 47: <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  19. raiwa

    Confusion over osC Versions.

    Done. @Dan Cole hope you do not mind that I just copied yours 😉
  20. @Tsimi, @MITCH70, I played around a bit more and found a solution where the ht module would only be required for the session unregister of the discount code. The only scenario where this makes sense/is required is the following: - discount input is allowed for guests/not logged in users in shopping cart - customer logged in and goes to checkout and introduces a discount code - he doesn't finish the order logs off and leaves the computer. - another user uses the same computer/session and goes as a guest to shopping cart, he will see the discount code from the other user which abandoned the checkout. - if he continues a purchase he can use the discount code which may have not been given to him Is this a real live problem or just a theorical unperfectness? EDIT: The same can happen in the old version if input in shopping cart is allowed to guests and the guest introduces a discount code and leaves the computer. Another user can see the code if he uses the computer before session expires. The complete settings would be: + no ht module required + application_top.php code moved to discount_code.php file in the root + 2 content modules (shopping cart and checkout payment) containing the validation script + checkout_process.php code moved into a hook + I believe the optional mod for paypal standard can also be hooked, needs to be tested. Like this the only core changes left would be the content module and hook calls Your thoughts?
  21. raiwa

    Modules Control

    New add-on Modules Control Extended and more complete version of Slim Checkout to control each individual content module for each store page. Download: https://github.com/raiwa/Module_Control/tree/master/New_Files/catalog/admin/includes/languages What it does: - add Module Control Page to Admin/Modules - allows to define controlled pages - allows to decide separate for each installed module and for each controlled page to be hidden. - control for each store root page (file) - control for each installed module of the following groups: - navbar - header - boxes - footer - footer_suffix Install: - copy all files from "New Files" folder - copy and replace "osc_template.php" from "Modified File" folder. Go to Admin/Modules/Modules Control This is Beta version. Please try and test. Any bug report and suggestion very welcome. rgds Rainer
  22. raiwa

    Modules Control

    New Version uploaded: Module Control 1.2.0 Changes: - Added back and fixed support for navbar modules. - Added modified navbar content module with modules control support - Fixed undefined warnings in navbar if no navbar modules are active in a navbar group
  23. Thank you Mitch for testing. The apply button is only required in shopping cart for to reload the page and show the discount in the ship in cart order total module. But you gave me the idea to link it there to the case when ship in cart ot module is used. Otherwise it is not required there neither.
  24. @Tsimi and other testers. Some more thoughts: I forgot that the old header tag also includes code to unregister the discount code from the session when a customer logs off. Thinking about it seems to me that this is not rquired. What harm can be done if the discount code keeps session registered? Anyway the discount codes are validated again on each checkout_confirmation load. Also when logging in again a new session is created anyway. Or do I miss something on this? But if we keep the ht module, we could do the following: + move the code from application_top.php to the ht module: one important core modification less + we can move the validation script from the content modules to the header tag module: only one copy of the script -> easier maintenance and update + we can keep the session unregister code for any case as in the old version - one module (ht) more in the package I created the above scenario version hewre it is for testing: - remove the code in application_top.php - install the new ht moduel test, test ,test give feedback Thank you Discount_Codes_5.0.0_beta_01.zip
  25. Sorry, yes the template filename need to be updated. Please rename the shopping cart template file from "discount_code.php" to "tpl_cm_sc_discount_code.php"
×