Read More
Read More
Menu Close

    OpenCart Shipping Based Payment Method

    OpenCart Shipping Based Payment Method:

    The webstore owner can limit the customers so that they get to choose only those payment methods for completing the orders that get assigned to each of the shipping methods by the admin.

    Subsequently, after selecting a shipping method, the customer only gets the assigned payment methods available for that particular shipping method. Lastly, the customer can choose a payment method and can place the order.

    Check the plugin overview in the video attached below – 



    • Set shipping dependent payment methods.
    • limit the number of payment methods depending upon the chosen shipping method.
    • Easily create multiple shipping methods along with their associated payment methods.
    • The customers can see the payment methods available depending on the chosen shipping method.


    Step 1:

    Extract the contents of the received zip folder on your system and then according to your OpenCart version select the respective folder for the module. Now upload the admin directory into the Opencart’s root directory.

    Searching for an experienced
    Opencart Company ?
    Read More
    installation opencart shipping based payment method

    Step 2:

    Login to the admin panel and then go to Extension-> Extension Installer and then upload the XML file. The XML file is in the ocmod folder under the module directory.

    In the ocmod folder, select the Opencart version that you are using and under it, you will find the shipping_payment_mapping.ocmod.xml file.

    Extension Installer OpenCart Marketplace Web To Print Extension

    Step 3:

    After uploading the XML file go to the Extension -> Modifications and click on refresh button.


    Step 4:

    After that in Admin panel go to System -> Users -> User Groups and edit the group ‘Administrator’ and choose to select all for both Access and Modify Permission for the permission that you want to provide and Save it.

    User Group Access Webkul OpenCart Marketplace Web To Print

    Step 5:

    Now go to Extension-> Extension->Modules->Shipping Based Payment Method and tap the Install button to install the extension.


    Configuration Settings – Admin Backend

    After the successful installation of the extension, the admin will navigate through Extension->Extension->Modules->Shipping Based Payment Method and will tap the Edit button.

    opencart shipping based payment method install extension

    This brings up the configuration settings for the module.


    Under the OpenCart Shipping Based Payment Method configuration settings, the admin will be able to –

    • Set the Status as Enabled to make use of the extension else select it as Disabled.

    Note: If no mapping is done for a particular shipping method then all of the payment methods available within the store will be displayed to a customer at checkout.

    Adding a New Mapping

    The admin will have to map the shipping methods with the payment methods. To do so, the admin will first tap the Add button at the bottom right-hand side. This adds a horizontal column for creating a mapping.


    Now, the admin will have all of the shipping methods within his store displayed on the left and all the payment methods listed on the right. Now here, the admin will –

    • Select a Shipping method from a list of available shipping methods.
    • Choose the Payment methods that will be available for the selected shipping method.
    • The admin can do multiple mapping by tapping the Add button.
    • Lastly, tap the Save button on the top right-hand side.

    Customer Workflow — Store Frontend

    The customer can add the products into the cart and can make a checkout by tapping the Checkout button.

    webkul opencart shipping based payment method customer checkout page

    After tapping the Checkout button, the customer is taken to the checkout page. Here, after the first 3 steps, the customer will select the Delivery method in Step 4.


    According to the chosen Shipping method(Free Shipping in this case), the customer will have the respectively assigned Payment methods available for selection at step 5.

    payment_method_shwebkul opencart shipping based payment extension shown payment method at checkout

    Note: At step number Five, the customer can see a notification that says ‘Available Payment Methods for this shipping method‘. It lets the customer know which payment methods are available for the chosen shipping method.

    Moreover, if the customer selects Country Wise Shipping in step 4, then the customer will have the respectively assigned payment methods(set by the admin in module config. settings) available for selection at step 5.

    webkul opencart shipping based payment extension payment method shown at checkout page

    Next, the customer will have to tap on the confirm button to proceed further to step 6, where the customer can complete the order.

    webkul opencart shipping based payment extension confirm order by customer

    Lastly, after placing the order, the customer will be able to check the shipping and payment details within the Order history section.

    webkul opencart shipping based payment extension - customer order history


    Moreover, in case you need more information or require any customization, then please send an email to [email protected] or raise a ticket at our HelpDesk system.

    Current Product Version -

    Supported Framework Version - 2.x.x.x, 2.0.x.x, 2.1.x.x, 2.2.x.x, 2.3.x.x

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*

    Be the first to comment.

    Back to Top

    Table of Content