Jump to content

Review like my plans for custom limit sales by country code?


Recommended Posts

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 by Josiah maybe
How Javascript maybe (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...