How to configure the Product Page Shipping Calculator
Integrate and customize real-time shipping costs on product pages in Magento 2
- Overview
- Requirements
- Steps to Enable and Configure Product Page Shipping Calculator
- Additional Configurations (Optional)
Overview
The Product Page Shipping Calculator feature gives customers the ability to calculate and view the estimated shipping cost and delivery dates without having to navigate to the checkout page.
Requirements
Before starting, ensure you have:
- A Magento 2 or Shopify account
- A Standard, Pro, or Enterprise ShipperHQ plan
Additionally, Magento 2 accounts will require:
- The
module-shipper
ormodule-shq-server
installed (instructions below)
Steps to Enable and Configure Product Page Shipping Calculator
Follow these steps to enable and configure the Product Page Calculator.
- Log into your ShipperHQ account.
- Navigate to Manage Shipping > Advanced Features page.
- Click the toggle to enable the feature.
- Click the Proceed button.
- Click the Settings tab.
- Select the desired settings:
- Default country
- Hide Country Field
- Hide State/Region Field
- Hide Zip Code field
-
Click the Apply button.
How to Install on Shopify
Use the steps below to enable and configure the Product Page Calculator within your Shopify store.
Enable App Embed
-
Within Shopify, Navigate to Online Store > Themes Page. Then select Customize
-
Navigate to App embeds in the side navigation
-
Search or navigate to the ShipperHQ App Embed and toggle it on
Add to App Block to Product Page
-
Still within the Theme Customization, navigate to your Product Page Template. Then click Add Section.
-
Select Apps tab, then select ShipperHQ Product Page Calculator App Block
-
The Product Page Shipping Calculator App Block is now available on your product pages. Reposition where it sits on the page by moving the block within the layer panel.
Customize
- The Product Page Shipping Calculator button color is customizable using your Shopify store theme settings
How to Install on Magento
Before you enable the Product Page Shipping Calculator feature, follow these steps to install the Product Page Calculator and sync with your Magento 2 store.
Steps to Install Product Page Shipping Calculator Module
- Enable Maintenance mode:
php bin/magento maintenance:enable
- Run the following commands from your root Magento installation directory:
composer require shipperhq/module-shq-product-page
php bin/magento module:enable --clear-static-content ShipperHQ_ProductPage
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
-
Disable Maintenance mode:
php bin/magento maintenance:disable
Steps to Sync with Magento
- Log into your Magento account.
- Navigate to Stores > Other Settings > Synchronize with ShipperHQ.
- Click the Synchronize button to enable the Product Page Shipping Calculator.
- Congratulations, you have successfully enabled the Product Page Shipping Calculator.
Additional Configurations (Optional)
Enhance your Shipping Calculator by exploring these additional ShipperHQ configuration options: