hanisnl Posted March 20, 2016 Share Posted March 20, 2016 hello everybody !I have a Prestashop 1.6.1.4 installation .The default currency is EURO, because all products have prices in EURO like our distributor .The currency should change & convert to our local currency : RON .Recently I added CloudFlare for various reasons, like security, flexible SSL / etc . The problem is that, whatever I do now, the prices changed.. they are only showed in EURO .It worked just fine before the CloudFlare installation .Our shop is Romanian based, and the Currency should be in RON .Since the CloudFlare installation, the prices are only showed in EURO .It must have something to do with GEOip and CloudFlare ... but whatever I try to do in the Prestashop config or in the CloudFlare config I can NOT get it to show the correct prices in our local currency RON .Has anyone got a FIX for this problem ??Any help would be greatly appreciated ! THANK YOU ! Link to comment Share on other sites More sharing options...
hanisnl Posted March 21, 2016 Author Share Posted March 21, 2016 Hello back,Wow, thanks, that looks massive !I will implement this class today and let you know how it works with my current setup .Best Regards ! Link to comment Share on other sites More sharing options...
hanisnl Posted March 22, 2016 Author Share Posted March 22, 2016 well .. it ALMOST worked ...for some reason .. if I try to login with any user, on the frontend, I get : TECHNICAL ERROR: unable to send login informations Details: Error thrown: [object Object] Text status: parsererror Link to comment Share on other sites More sharing options...
hanisnl Posted March 22, 2016 Author Share Posted March 22, 2016 OK . now the prices don't work .What I did :1. Added new script . 2. Added debug plugin & activated3. Cloudflare -> purged cache 4. Cleared browser cache 5. No errors in the debug related to the your script Now I can login .. but I have no prices and I can see the Country Restricted notice that I can not order products from my country - that is, the cloudflare country probably .The weird part is that with the first script the prices looked ok ...Any more ideas ? Link to comment Share on other sites More sharing options...
hanisnl Posted March 22, 2016 Author Share Posted March 22, 2016 also something really bad happened .. I don't know if it was from the script or from the debug plugin .. but i got my website offline / suspended .. waiting for support to tell me what's the problem .. Link to comment Share on other sites More sharing options...
hanisnl Posted March 22, 2016 Author Share Posted March 22, 2016 donno .. must wait for the hosting support to get the website back online ... I think it had something to do with the debug plugin ... there were a few css errors, nothing major .. i think that did the "trick" and somehow blocked the account . if I delete the mbdebug from /modules/ will it disable the plugin without problems ? thanks .. Link to comment Share on other sites More sharing options...
hanisnl Posted March 22, 2016 Author Share Posted March 22, 2016 (edited) hmm .. about the CloudFlare script .. does it matter if the server is a LiteSpeed and not Apache ? Edited March 22, 2016 by hanisnl (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