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

  1. Log in to your Magento admin panel.
  2. Go to System > Configuration > Advanced > Developer.
  3. Click on New Extension and enter the following details:
    • Name: Royal Mail Shipping
    • Description: Royal Mail Shipping extension for Magento
    • Type: Extension
    • Enabled: Yes
  4. Click Save.
  5. Upload the Royal Mail extension ZIP file to the app/code/local directory of your Magento installation.
  6. Go back to the System > Configuration > Advanced > Developer page and click on Flush Magento Cache.

Step 2: Configure Royal Mail settings

  1. Go to System > Configuration > Carriers > Royal Mail.
  2. 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").
  3. Click Save.

Step 3: Configure shipping options

  1. Go to System > Configuration > Carriers > Shipping Options.
  2. Click on Add New Shipping Option.
  3. 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.
  4. Click Save.

Step 4: Configure shipping rates

  1. Go to System > Configuration > Carriers > Shipping Rates.
  2. Click on Add New Shipping Rate.
  3. 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.
  4. Click Save.

Step 5: Test the shipping options

  1. Go to the frontend of your Magento store and add a product to your cart.
  2. Proceed to checkout and select the shipping option you just configured.
  3. 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.