Ericko Posted August 22, 2018 Share Posted August 22, 2018 Hi Everyone, I am not sure about if it is the right place but I thought my question was worth being here or in module development. We have a problem related to speed and carriers dynamic fees. I need to give you a little summary about why I need your knowledge to improve my shop. THE HISTORY: We are using two different carriers for our international delivery because one is better with serving some countries and the other one with others. It helped us having better customer satifaction. The problem was that they both have different country zoning to apply their fees. Let's say Italy can be in zone 1 for DHL and zone 2 for TNT. So there is a problem for setting this up in the carriers section. So for DHL I use dynamic delivery fees, so that it does not use Prestashop's carriers (and also save me some time and money with filling 100 columns and 9 lines, plus certain area a country costing higher fees) THE PROBLEM: Since I used this dynamic fees with DHL, I have a new drawbacks: When you have products in cart, it takes 8 seconds to add a product or to load any pages. Any page loads requires the module to connect and login DHL servers. and this loading time gets even higher when customers have a cart with more than 100 lines (this time additionally due to prestashop). I thought maybe it was because of delivery fees are required to be display in add to cart pop up confirmation and in cart AJAX button. SOLUTION WE TRIED OUT: We cached the delivery fees so that the module takes us to DHL server only when adding a product and recalculates fees. It saved us 1-2 secs only... THE QUESTION FOR WHICH I NEED YOUR EXPERIENCE: If I don't display delivery fees in the AJaX cart button and in the add to cart confirmation pop up will pages load faster since it does not have to wait for this information to be available from DHL? Another way to ask you that question: Can fees be added "invisibly" to the cart in BO, DB and Cart summary only so that page loading is faster because these fess are not requested to be displayed in cart button and pop up? Thanks in advance for you thoughts. I really would appreciate your anwsers. Best regards Eric 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