Add royal mail shipping options magento
To add Royal Mail shipping options in Magento, you'll need to follow these steps:
Step 1: Install the Royal Mail extension
- Log in to your Magento admin panel.
- Go to System > Configuration > Advanced > Developer.
- Click on New Extension and enter the following details:
- Name: Royal Mail Shipping
- Description: Royal Mail Shipping extension for Magento
- Type: Extension
- Enabled: Yes
- Click Save.
- Upload the Royal Mail extension ZIP file to the
app/code/local
directory of your Magento installation. - Go back to the System > Configuration > Advanced > Developer page and click on Flush Magento Cache.
Step 2: Configure Royal Mail settings
- Go to System > Configuration > Carriers > Royal Mail.
- Fill in the required details:
- API Key: Your Royal Mail API key (you can obtain this from the Royal Mail website).
- Account Number: Your Royal Mail account number.
- Password: Your Royal Mail password.
- Service Type: Select the service type you want to use (e.g., "Royal Mail 1st Class" or "Royal Mail 2nd Class").
- Click Save.
Step 3: Configure shipping options
- Go to System > Configuration > Carriers > Shipping Options.
- Click on Add New Shipping Option.
- Fill in the required details:
- Carrier: Select "Royal Mail" from the dropdown list.
- Method: Select the shipping method you want to use (e.g., "Royal Mail 1st Class" or "Royal Mail 2nd Class").
- Description: Enter a brief description of the shipping option.
- Price: Enter the price for the shipping option.
- Click Save.
Step 4: Configure shipping rates
- Go to System > Configuration > Carriers > Shipping Rates.
- Click on Add New Shipping Rate.
- Fill in the required details:
- Carrier: Select "Royal Mail" from the dropdown list.
- Method: Select the shipping method you want to use (e.g., "Royal Mail 1st Class" or "Royal Mail 2nd Class").
- Weight Range: Enter the weight range for the shipping rate (e.g., "0-100g" or "100-500g").
- Price: Enter the price for the shipping rate.
- Click Save.
Step 5: Test the shipping options
- Go to the frontend of your Magento store and add a product to your cart.
- Proceed to checkout and select the shipping option you just configured.
- Verify that the shipping rate is displayed correctly and that the order is processed successfully.
That's it! You should now have Royal Mail shipping options available in your Magento store.