J2Store Documentation
DownloadFeaturesApps
  • Introduction to J2Store
  • Getting Started
    • Introduction to J2Store
    • Getting started with J2store
    • Technical Requirements
    • Installation
    • Update
    • Upgrade from FREE version to PRO version of J2Store
    • Migrating from 2.x to3.x
  • Migration from J2Store 3 to 4
  • Set up
    • Content plugin settings
    • Configuration
    • Currency
    • Custom fields
    • Set up multi-currency
  • Quickstart guide
  • Product Types
    • Simple product
    • Variable product
    • Configurable product
    • Flexible variable product
    • Downloadable product
  • Layout
    • Product layout
    • Product tag layout
    • Usecases
    • Category Tree for displaying filters
    • Special module positions
  • Catalog
    • Assigning a product to multiple categories
    • Product description
    • Short codes
    • Adding specifications to your products
    • Advanced pricing
    • Setting up tax for your products
    • Options
      • Import product options
      • How to create options and add them to your products
    • Filters
      • Product filters
      • Translating filters to your language
    • Manufacturers
    • Vendors
    • Adding related products
    • Ordering products on your storefront
  • Subscriptions and Memberships
    • Introduction to subscriptions and memberships in J2Store
    • Quickstart
    • Requirements and Installation
    • Basic Settings
    • Creating subscription based products
    • Simple Subscription Product
    • Paypal Reference Transactions for Subscriptions
    • Usecases
    • Customizing the subscription mail templates
    • Frequently asked questions
  • Partial Payments
    • Introduction to Partial payments
    • Basic Settings
    • Setting up plans for Partial Payments
    • Instances
    • Usecases
  • Booking and Reservations
    • Limitation of the booking products type
    • Requirements and Installation
    • Basic settings and Booking Management
    • Booking and Reservations
    • Creating a Bookable Product
    • how to restrict multiple booking for a product person based restriction
    • Usecases
  • Localisation
  • Translation
    • Translate J2Store into your language
    • Setting up the store in your Language
    • How to write language override for plugin in multilingual site
    • Language overrides in Joomla with examples
    • Translating Product Options
  • Design
    • Email templates
    • Invoice Template (Pro Feature)
  • Tax configuration
    • Untitled
    • Recommended Tax configuration for US States
    • Recommended Tax configuration for Canadian Stores
    • Recommended Tax Configuration for EU stores
    • Setting up European VAT Rules for selling Physical Goods with J2store
    • A simplified guide for New EU VAT rules 2015 for digital goods and setting them up in J2Store
    • How Tax is Calculated
  • Easy Checkout
    • Easy checkout
    • Trouble shooting issues
  • Shipping methods
    • Free Shipping
      • How to create coupons for free shipping
    • How to set up local store pick up shipping method
    • Australia post shipping plugin
    • Bring shipping plugin
    • Canadapost shipping plugin
    • FedEx shipping plugin
    • Purolator
    • Postal Code shipping plugin
    • Royal Mail Shipping
    • Standard shipping methods
    • Table Rate Shipping
    • UPS Shipping
    • USPS Shipping
    • United States postal service Shipping Plugin
    • USPS Advanced
  • Payment Methods
    • AliPay Payment Plugin
    • Authorize.Net plugin
    • Bank Transfer
    • Barclays Payment plugin
    • Braintree payment plugin
    • Cash on Delivery
    • CardSave Payment plugin
    • CCAvenue payment plugin
    • CECA Payment
    • Checkout fi¨
    • Culqi Payment
    • DIBS payment plugin
    • Direcpay Payment Plugin
    • EBS Payment Plugin
    • Elavon Coverage/Virtual Merchant Payment Plugin
    • eway Payment Gateway for j2store
    • First Data Plugin
    • Flo2Cash for J2Store
    • GestPay
    • Heartland Payment Plugin
    • Icepay Payment Plugin
    • Interpay
    • Klarna Payment Plugin
    • Mollie payment plugin
    • Money Order
    • Moneris eselectplus Hosted Paypage
    • MultiSafe Payment Plugin
    • Nochex Payment Plugin
    • NMI Payment Gateway
    • Ogone Payment plugin
    • Pagseguro Payment plugin
    • Paybox Payment plugin
    • Payeezy
    • Payfast Payment plugin
    • Paygate Payment
    • Paymate
    • Paypal Sandbox
    • Paypal Adavnced Payment plugin
    • Payment Express for J2Store
    • Payment Sense
    • Paypal Express Checkout
    • Paypal payment plugin
    • Paypal Pro Payment Plugin
    • Payseal Payment Plugin
    • Paysera Payment Plugin
    • Payson Payment Plugin
    • Payson Invoice Payment Plugin
    • Pay U Latam
    • PayUMoney plugin
    • Poli Payment Plugin
    • Post Finance
    • QuickPay
    • Razorpay
    • Rabobank Omnikassa
    • RealEx Payment Plugin
    • Redsys/Servired/Sermepa Payment Plugin
    • Sagepay Form Payment Plugin
    • Secure Trading Plugin
    • Sepa Payment
    • Sisow Payment for J2Store
    • Skrill Payment Plugin
    • Sofort Banking
    • Stripe
    • Squareup Payments
    • Tranzila Payment Plugin
    • USAePay Payment Plugin
    • Voguepay Payment Plugin
    • Worldpay Payment Plugin
    • 2Checkout Plugin
  • Sales
    • Coupons
    • Vouchers
    • Customers
    • Orders
  • Report Sales
  • Modules
    • Product search module
    • J2store Detailed Cart
    • Product categories module
    • Product display module
  • Apps
    • Add to user group
    • Additional fee
    • Ask question / quote
    • Availability-notification
    • Bundled Products
    • Bulk discounts
    • Change Password
    • Checkout Redirect
    • Custom Tabs
    • Data validation
    • Donation
    • Drop-box
    • Email basket Plugin
      • Email basket issues
    • GDPR compliance
    • Google-analytics-ecommerce-tracking
    • Group Products
    • How to send download links through email notifications
    • Image Popup
    • Invoice Prefix Generator
    • Open hours (time based restriction)
    • Pay later/Pay against invoice
    • Points and Rewards
    • Re-Order
    • Shipstation
    • Simple CSV import and export tool
    • Tax Utilities
    • Upload file in checkout
    • Quantity dropdown
  • Frequently Asked Questions
    • Where can i find my sub-template
    • Products not aligned properly on list view
    • SCA support for payment plugins
    • To show the base price instead of price range in flexivariable products
    • Where do I add the CSS on my site
    • Unable to save the settings in any app
    • Difference between product types
    • Commonly found issues
    • Frequently Asked Questions
    • Quantity Restriction
  • Troubleshooting Guide
    • Products not visible on storefront
    • Cart not Working
    • Troubleshooting Cart related Issues
    • Moving the description
    • Troubleshooting Checkout Issues
    • Troubleshooting Common Issues
    • How to disable shipping address and payment in checkout
    • Joomla Article Error decoding json data
    • Troubleshooting Email Issues
    • Troubleshooting Paypal related Issues
    • Troubleshooting Product Display Module Issues
    • How to create a custom thank you message
    • Troubleshooting Shipping Issues
    • Troubleshooting Tax Issues
    • Troubleshooting Translate related Issues
  • Common Overrides
    • To add options to downloadable products
    • Moving additional image list to the left of the main image in product view page
    • To display the UPCE/BAN/ISBN on the product page
    • To Display Both the main Image and the additional image in the product view page
  • Video Tutorials
    • Quick Start
    • Catalog Management
    • Subscriptions
    • Booking and Reservation
    • Partial Payments
    • Tax
    • Shipping Methods
    • Discounts
    • Language
    • Apps
    • Email and Invoice Template
    • Checkout and Payment
    • Sales and Orders
    • J2Store CPanel
  • General
    • How to set cron job on your server
    • How to create an FTP account and super user account in Joomla
  • Developer Guide
    • Introduction
    • Queue System
    • App for J2store
    • Sub-templates
    • Creating an integration plugin for your component
    • Payment plugin
    • Templates
  • Canonical URL Plugin
Powered by GitBook
On this page

Was this helpful?

  1. Shipping methods

Postal Code shipping plugin

PreviousPurolatorNextRoyal Mail Shipping

Last updated 4 years ago

Was this helpful?

The plugin integrates a postal code based shipping method for J2Store. It will calculate the shipping cost based on the postal code range, weight range and quantity range. You can use all three or just one of them.

Requirements

  1. PHP 5.3+

  2. Joomla 2.5 / 3.x +

  3. J2Store 2.6.8 +

Installation

  • Download Postal code shipping plugin from our site and install it using standard Joomla installer.

  • Once installed, go to J2Store > Setup > Shipping method and enable Postal code based shipping plugin.

enable
  • After enabling this plugin, open the plugin and configure the basic settings and create a shipping method.

Creating Shipping method Open the plugin and click NEW to create new shipping method.

Shipping Name Enter a name for this shipping method. This is what your customers will see at the checkout.

Tax Class The value selected will be used in calculating tax rates for this shipping method.

Geo zones Choose geozones for which this shipping method is available. Choose at least one.

Enabled The value selected yes will enable the shipping plugin while displaying in the checkout.

Override Shipping Method Address If you set this to Store address, then the shipping address provided by the customer will be ignored for calculating rates and shipping rates will be calculated based on store address.

Minimum SubTotal If you enter a value here, then this method will apply only if the order subtotal is greater than or equal to the value.

Max SubTotal The shipping method will apply only if the order subtotal is less than or equal to the value entered here. Enter -1 to turn off this filter

Allow Free Shipping If Total is Less than / Equal to SubTotal:

Postal Code Format

Choose the postal code format. Most of the countries follow the US based zip codes.

Example: 95100 to 95300

Quite a few commonwealth countries including UK, follow a different post code system.

If you are not sure about post code, do not select any format here.

Now, Save&Close the method.

Set Rates To Set Rates click on the link “set rates” of the postcode Shipping method

Postcode From Enter the starting range of the zip code. For example, 90001.

Postcode To Enter the ending range of the zip code. For example, 90005.

Weight Start Starting weight range. Leave it empty or enter 0 if you dont want to use weight range.

Weight End Ending range. Leave it empty or enter 0 if you are not using weight range.

Quantity From Starting quantity range (Based on total quantities in the order). Leave it empty or enter 0 if you dont want to use Quantity range.

Quantity To Ending Range. Leave it empty or enter 0 if you dont want to use the Quantity range.

Cost Enter your shipping cost here.

Per Item (Cost / number of Item) It is bit tricky. Leave this as 1 if you do not understand.

The cost entered per item can be 1. If the cost is for 2 items (2 nos ) , you can enter 2 here. The cost will be divided by two.

Example: Shipping cost is 50 USD for 2 items. 50 / 2 = 25

Examples

Example 1 : Suppose within the United States, you want to charge $3.00 for postcodes starting with 902, $5.00 for other postcodes starting with 9, weight range is 1 to 10 and qty range is 1 to 100

Rate #1 Geo Zones: United States Cost Brackets:

  • Postcode From: 902, To: 90299, Charge: 3.00

  • Postcode From: 9, To: 99999, Charge: 5.00

  • Weight Start: 1.000 To : 10 .000,

  • Qty From: 1 To:100

Example 2: Suppose you are based in London, and only ship to London postal districts. You charge $2.00 per item for shipping for a weight range of 1 to 10 and qty range of 1 to 100, then you would enter:

Rate #1 Geo Zones: United Kingdom Cost Brackets:

  • From: E1, To: E21, Charge: 2.00, Per: 1

  • From: EC1, To: EC5, Charge: 2.00, Per: 1

  • From: N1, To: N23, Charge: 2.00, Per: 1

  • From: NW1, To: NW12, Charge: 2.00, Per: 1

  • From: SE1, To: SE29, Charge: 2.00, Per: 1

  • From: SW1, To: SW21, Charge: 2.00, Per: 1

  • From: W1, To: W15, Charge: 2.00, Per: 1

  • From: WC1, To: WC3, Charge: 2.00, Per: 1

  • Weight Start: 1.000 To : 10 .000,

  • Qty From: 1 To:100

Example 3: Suppose your postcodes are made up of 6 alphanumeric characters, and you want to charge $1.00 for shipping to postcodes beginning with AB, $2.00 for postcodes beginning with CX, and $4.00 for all other postcodes. No weight or qty ranges are used.

Then you would enter:

Rate #1 Cost Brackets:

  • From: AB, To: ABZZZZ, Charge: 1

  • From: CX, To: CXZZZZ, Charge: 2

  • From: (blank), To: (blank), Charge: 4

  • Weight Start: 0.000 To : 0 .000,

  • Qty From: 0 To:0

Note: You could also enter AB0000 and CX0000 for the “From” postcodes.

Import / Export You can also use import / export feature to add shipping rates easily.

Click Export to download the sample csv file and see how the csv file must be.

The below three columns are the mandatory for the csv file.

j2storeshippingpostcoderateid - Leave this column empty. Rate ID will be updated automatically.

shippingpostcodemethod_id - It is nothing but Shipping method ID. You must enter shipping method ID otherwise the rates will not be imported correctly into the corresponding shipping method and errors will be trigerred.

shippingpostcodefrom and shippingpostcodeto - Enter the postcode range between which the shipping charge should apply.

Then, enter the weigh trange, quantity range, price range and shipping cost as your wish and import the csv file.

For example, the above image has the shipping method named “Shipping cost”. Already this shipping method has one rate with postal range 90001 to 90005.

Now if you would like to add two more rates using csv file, import the csv file like below image

Now the resulting rates are

Debug If you set this to yes, then debug messages will be logged and saved in the cache folder in your Joomla root directory.

Set this to NO in Live websites.

Support You can contact support@j2store.org if you have any questions.

open
open
method
setrates
rates
export

![rates1]( (1).png)

csv
import
results
https://raw.githubusercontent.com/j2store/doc-images/master/shipping-methods/postal-code-shipping-plugin/postal-plugin-rates
methodid