Prestashop Module: Canada Post: Rates and Estimator
Offer real-time rates to customers and provide shipping quotes on the product and cart pages.
- Increase conversion and reduce abandoned carts with shipping quotes on the product and cart pages without requiring the customer to make an account.
- Save money by avoiding overcharging/undercharging with dynamic box packing.
Simply click “Sign into Canada Post” to connect your Canada Post account, add your address, and you’re ready to go.
Offer real-time Canada Post rates at checkout.
- Your negotiated/discounted Canada Post rates will be used if available.
- Select the carriers you want to use and the module installs them for you in your back-office automatically.
- Display delivery times retrieved directly from Canada Post in real-time. e.g. “2 Business days.”
Increase conversion by displaying shipping quotes on the product & cart pages.
The shipping estimator allows guests to enter a country and postal/zip code to fetch quotes without making an account.
- Prevent “shipping fee shock” and reduce abandoned carts by displaying the shipping costs upfront.
- Existing customers will see rates based on their account’s shipping addresses.
- Customers with multiple addresses can select a different address from the estimator’s drop-down menu to see different rates.
- The estimator will show all applicable carriers for the cart including custom carriers and carriers added by most other modules*.
- Customers that have a product added to their cart can change their cart’s selected shipping method from the estimator.
- The estimator takes into account the product that the customer is currently viewing – any carrier restrictions or carrier discounts for that product will apply even if they haven’t added it to their cart yet.
* Not all third-party shipping modules will show rates in the estimator – all modules are created differently and they may not follow the same standards as this module.
Rate Discount Rules
Configure custom discount rules for each carrier.
- “Free Shipping for Xpresspost on orders over $100“
- “$5.00 off Expedited on orders over $75“
- “50% off Priority on all orders“
Increase conversion and save money by offering accurate rates based on the products in the cart.
Add all the box dimensions that you ship in the module configuration page.
When calculating rates, the module uses a sophisticated box packing algorithm to determine the smallest of your box(es) that will fit all the products in the customer’s cart; it can split the products into multiple boxes when the cart has more products than your largest box can fit.
- Choose if you want to charge customers for each box or if you only want to charge for one box.
- Add unlimited boxes into the module from the configuration page – the more boxes you add, the more accurate the rates will be.
- Avoid overcharging/undercharging customers for shipping.
The module stores rates for each cart in the database to speed up your website. It will only retrieve new rates if the customer changes their zip/postal code, the products in their cart, or the quantities for products already in their cart.
- A Canada Post account.
- Your website’s PHP version should be at least 5.4.0
- Go to the Modules page.
- Click Upload a Module and upload the module .zip file.
The module must be configured with your Canada Post account, an origin address, and at least one box.
To configure the module:
- Go to Modules page.
- Find the Canada Post module and click Configure.
- Click Sign in with Canada Post
- You’ll be redirected to the Canada Post website where it will prompt you to login to your account and authorize the module to create shipments on your behalf. You can revoke these permissions at any time from the Canada Post website. You must agree to this step even though this module does not use the Labels feature and will not charge your Canada Post account.
- 4.0.9 (10/17/2021)
- Update cacert.pem bundle
- Fix missing admin tab JS in PS 1.7.8
- Fix bug where Estimator would display carriers as “free” when no carriers were available
- Add box packing optimization to help speed it up when it requires many boxes
- 4.0.4 (04/16/2020)
- Fix errors not displaying when registering to the platform
- Improve backend JS to prevent conflicts between modules
- Add jQuery to module configuration page in PS 1.7.7+
- Fix “Address” namespace issue in Cache.php
- Fix styling on estimator
- Fix Rate Discount rule error when discount value is empty
- Fix styling on estimator
- Fix double div closing tag in development template
- Fix estimator showing as Free on out-of-stock products
- Module completely re-built from the ground up with new features and better performance.
- NEW: Front-office Shipping Estimator on Product/Cart pages
- NEW: Custom Rate Discount Rules
- NEW: Box Packing Algorithm
- NEW: Smart Rate Caching to speed up the front-office
- NEW: Get rates with tax included OR excluded
- NEW: Upload your own carrier logo
- Added metrics for storage space used by module
- Rewritten documentation
- Numerous bug fixes and improvements
- Add Hook.php override for backwards compatibility (namespace issue)
- FIX delivery estimate bug
- FIX uninstall bug in Prestashop 188.8.131.52
- FIX Bug with creating manual orders.
- Updated for Prestashop 1.7
- Added more documentation
- Added manual workaround for delivery times
- Fixed cookie->exists
- FIX Some rate services not appearing for certain addresses.
- FIX Bug preventing from deleting a box on some servers.
- NEW Added two new International shipping methods (parcel air, parcel surface).
- Fixed rate not updating for Shipping Estimator module.
- Added $delay_times smarty variable.
- IMPROVED: Rate volume calculation
- FIX: Admin order page now correctly pre-selects the optimal package size
- FIX: Syntax for select form fields in latest PS version on older PHP versions.
- NEW: Rate algorithm improvement with long edges
- FIX: Syntax for select form fields in latest PS version
- FIX: Bug with commercial invoices
- FIX: Weight calculation on split shipments
- FIX: Conversion edge case when CAD is disabled on a separate multishop site
- FIX: SQL sanitzation bug with magic quotes
- NEW: Split Products option
- NEW: Delivery Delay setting
- NEW: Edit boxes
- FIX: Multiply each product by its quantity
- FIX: Make box form larger
- DEBUG: Refactor value deletion
- DEBUG: Add seed debug tools
- Fixed rates with handling fees
- Fixed CPTools class typo