eCommerce and Shipping Rate requests
Permalink
Hi. My team has run into a small issue with the eCommerce module (core_commerce) and was wondering if anyone else is experiencing similar issues, and if so, if they know of a solution.
Problem:
The eCommerce module calls the function $getAvailableShippingMethods($currentOrder) multiple times throughout the checkout process. This is confirmed in the documentation located here:http://www.concrete5.org/marketplace/addons/ecommerce/documentation...
Unfortunately, this is also when shipping rates are determined. This presents an issue for us as this means multiple calls to the shipping provider for rates are made throughout the checkout process, instead of simply once. Testing has confirmed this, totaling 4 separate batches of requests made - a request is made during these steps of the checkout process:
- An item is placed in the cart and viewed.
- The checkout process steps to the Billing Information page
- The checkout process steps to the Shipping Information page
- The checkout process steps to the Invoice total page
This puts an unnecessary load on our server and the shipping providers' servers. Does anyone know of a work-around solution to this? Thanks.
Problem:
The eCommerce module calls the function $getAvailableShippingMethods($currentOrder) multiple times throughout the checkout process. This is confirmed in the documentation located here:http://www.concrete5.org/marketplace/addons/ecommerce/documentation...
Unfortunately, this is also when shipping rates are determined. This presents an issue for us as this means multiple calls to the shipping provider for rates are made throughout the checkout process, instead of simply once. Testing has confirmed this, totaling 4 separate batches of requests made - a request is made during these steps of the checkout process:
- An item is placed in the cart and viewed.
- The checkout process steps to the Billing Information page
- The checkout process steps to the Shipping Information page
- The checkout process steps to the Invoice total page
This puts an unnecessary load on our server and the shipping providers' servers. Does anyone know of a work-around solution to this? Thanks.