Josiah maybe Posted August 31, 2023 Share Posted August 31, 2023 (edited) This would maybe be like an addon. I would use prestashop.on with checkoutChangedStep, hide page body, do a custom country check, then if correct check, then show page again. I am unsure if I need to hide page initially as prestashop.on with that is as submitted and may be like synchronous but I do not know. Anyway, ends hidden if not success in check. I would be doing a custom country check by calling weatherapi.com using navigator.geolocation. I would be using a withreach.com thing for checkout. I would have like my custom Javascript using weatherapi.com and checking country by it. I would save this custom country check data and, not needed, but trying for, check if address country for taxes is same. Am I missing anything needed for this custom country check or is there any improvements that should be? I would be using withreach.com as payment processor and taxes calculator. They already integrate with prestashop. I am trying for custom country check certainly before payment and after or with cart filled with items. I would be using that to enter in Javascript. I am new to this so where do I need to enter this Javascript? I think that should handle it though. I may use other prestashop.on events if needed. All as per one might be maybe or might not be maybe, maybe or maybe not, maybe. Edited August 31, 2023 by Josiah maybe How Javascript maybe (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now