Jump to content

inra311

Members
  • Content count

    99
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ingo
  • Gender
    Male

Recent Profile Visitors

4,121 profile views
  1. Hi,

    Could you provide me the link to your website to see how does it happen please ?

    Thank you. :smile:

     

    PS: You could find the only dowload product I offer from this link : https://www.infinitydream.com/xecuter-sx-os-n-switch-p-1449.html

    1. milerwan

      milerwan

      It's ok in my payment module I have this that block the script in case of virtual product :
       

      Quote

            // disable the module if the order only contains virtual products
            if ( ($this->enabled == true) && ($order->content_type == 'virtual') ) {
              $this->enabled = false;

       

  2. inra311

    MATC BS

    Works fine now !
  3. inra311

    MATC BS

    I checked again and this time I made 100% sure I have only original files. The problem is still there! (Tested with Firefox and Microsoft Edge) I guess you missed it because of this: There seem to be (at least) two different 'error levels'. With just a 'minor' mistake the page 'reloads' like in the screenshot, with a popup note. No problem in this case, the MATC behaves correctly: Sometimes however the page reloads with a WARNING ON TOP (like password errors? or multiple errors? repeated errors? not sure why and when this is in contrast to the first error type): In this case the MATC button seems to be 'offset' with the checkbox (which is checked but no button): Unchecking will show the button now, 'Continue' will result in a MATC error: "you need to agree with the T & Cs.."
  4. inra311

    MATC BS

    I used Firefox, PHP 7.1 I made some little cosmetic changes to some files, like replacing the text next to the box with one with two html links (to conditions and to privacy_policy), and I set the check box left of the text instead of right. But I also tried with the original, unmodified files (I hope all...) to make sure that the problem was not related to my changes, and it was still there. Maybe I missed something? Will check again tomorrow.
  5. inra311

    MATC BS

    I found a problem with the MATC module on the create_account page. When the customer enters data incorrectly so that the Continue button does not lead to the success page but reloads the page with an error warning , the MATC module bevaves weird. (I am talking about the case when there is a warning box on top of the page, small or first (?) errors like too short entries sometimes just open a pop-up hint, no problem in this case) The problem: all entered data is still there and the matc checkbox is still checked (which is alright) BUT the Continue button is hidden. The button will be shown when you UNCHECK the checkbox now!! A click on the button will reload the page with the error note that you must check the checkbox! At least then the checkbox is again unchecked, when you check it the button appears and this time the account will be succesfully created. Apparently, the customer's data and the state of the check box were recovered when reloading the create_account page after the first error but the button is hidden by the code on top of matc.php nevertheless. So the button state (show/hide) does not match the state (checked/unchecked) of the checkbox. I found a solution for me but it is probably not the ideal one. Maybe anyone better in coding can sort out how to fix it properly (maybe to set 'checked' always to false whenever the page is loaded) (My solution was to show the button always, by removing the script on top of matc.php. I am fine with this as it is the way it is on many websites. I had to paste in the script in the template of the buy button on checkout_confirmation instead as otherwise you could buy there without checking the MATC checkbox)
  6. inra311

    MATC BS

    Unfortunately I don't really understand what the code does but I can confirm that the error seems to be related to the 5th parameter of tep_draw_button which is 'id="TheSubmitButton"' When I change tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', null, 'primary', 'id="TheSubmitButton"', 'btn-success'); to tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', null, 'primary', null, 'btn-success'); it does not produce the error, and still seems to work (I don't have the popup or textarea option enabled, is the parameter needed for some javascript for these??) ... but as said I don't really understand what I am doing there so probably not a good idea?! Also I found that 'id="TheSubmitButton"' does not appear in any core files, neither in the addon except within the tep_draw_button. Shouldn't it be defined somewhere? error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_DEPRECATED); This did not change anything (the error is in the error log, not onscreen)
  7. inra311

    MATC BS

    I set the MATC to checkout_confirmation. It works fine it seems but I get the following error warnings when calling up checkout_confirmation.php (PHP 7.1): PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 350 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 353 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 354 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 357 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 367 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 375 PHP Warning: Illegal string offset 'type' in .../includes/functions/html_output.php on line 394
  8. There is the option 'Require telephone number' in the PWA settings (admin/modules/content --> Login without account form) that must be set to true. Then the telephone number can be entered at the bottom of the form.
  9. inra311

    Country State Selector BS v3.0

    I am using this addon together with @Raiwa 's modular checkout & ship in cart estimator: Just some minutes ago a customer bought virtual products and I noticed that there is no shipping or billing address in the order. When I open the order in the order editor, it crahes, as it seems because of the customer's state which contains a ' ! (Country: France , state: Val d'Oise ) 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Oise' OR zone_code = 'Val d'Oise')' at line 1 select zone_id from zones where zone_country_id = '73' and (zone_name = 'Val d'Oise' OR zone_code = 'Val d'Oise') I can't tell if this has to do with any of the addons involved here, or with 2.3.4.1 CE. What I can tell is that an older order with virtual products by the same customer from last year works and appears alright!
  10. inra311

    [Contribution] Ship In Cart

    Perfect Thanks a lot
  11. inra311

    [Contribution] Ship In Cart

    I just added the first one, worked like a charm I will try the other option now...
  12. inra311

    [Contribution] Ship In Cart

    Big thank you, Rainer I will add the changes this evening and report back the result
  13. inra311

    [Contribution] Ship In Cart

    I have installed this great addon :) I am wondering if there is an easy mod for the following problem: As EU dealer, I must display all prices with 19% VAT. I have many customers from outside the EU, and I was hoping the addon would not only display shippig costs for these but the order total as well - in other words the final price (with or without VAT, depending from the country they come from.) After selecting the country, all the VAT itself of the shipping costs and product costs is displayed properly (so there are all kind of routines to check tax rates for logged-in or non-logged-in customers anyway) BUT the subtotal is still the price with VAT , e.g. 400€ instead of 340€. The customer still needs to create an account an log-in just to see how much the product will cost him :( Any ideas how to change this? (sorry if this has already been discussed, I scanned the previous posts but there are 36 pages...)
  14. Thanks, that helped, I get results now for "sc', 'sch' ... :) There was one little mistake in the fix: replace preg_with mb_ereg_replace I guess it should be replace preg_replace with mb_ereg_replace I still occasionally get the mistake 'no matches' at all with German language in MS Edge, but only when I open the start page in Edge and do the search before anything else. I guess it has to do with an addon for the EU cookie acceptance ('with continuing you agree to the usage as per our cookie policy' *) as it works when I do a few clicks on my site before searching. *Hmm, makes me think of an off-topic here: Is the cookie message still up to the latest GDPR laws as it implicitly assumes confirmation by just continuing to use the site?? (It is the header tag module called 'Cookie Compliance Message') Everything else should be GDPR-ready on my site by now, but I did not think about this addon.
  15. Another addition: After switching languages a few times, it suddenly also works in German with Edge/IE (?!)
×