Reading list Switch to dark mode

    Guide for Magento 2 OpenCart Connector

    Updated 26 March 2024

    Using the Magento 2 OpenCart Connector Integrate your Magento 2 store with the Opencart store and import the products of OpenCart to your Magento 2 store. Apart from that, you can also reimport the products as per your need and map the attributes.

    The admin just needs to install this extension, after that make some configurations to connect the OpenCart store with the Magento 2 store and then you are good to go.

    Note: This plugin supports Magento 2.4.6 version and OpenCart 3.0.3.8 and For Magento PHP version supported is 8.2 and OpenCart PHP version supported is 7.4

    Also, in your OpenCart installation folder, you need to install the Akeneo Connecto ZIP file for working of the APIs.

    For now, only the price, name, and SKU attribute fields of Magento can be mapped with the OpenCart attributes.

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    You can also check the multichannel selling in e-commerce to know how you can sell online on other platforms and the benefits of the same.

    Check the video mentioned below for an overview of the workflow of this extension:

    TAHcqvgXLpQ

    Features

    • Connect your OpenCart store with your Magento 2 store.
    • Import products from OpenCart Store to the Magento 2 store.
    • Reimport the products from the Opencart store to the Magento 2 Store.
    • Map OpenCart product attributes with the Magento 2 store attributes.
    • After product import assign the category in the Magento backend to the products.
    • Import simple products from Opencart to the Magento 2 store.

    Installation

    #Download Module

    Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

    #Upload Folder

    Once the module zip for Magento 2 OpenCart Connector is extracted, follow path src>app and then copy the app folder into the Magento 2 root directory on the server as shown below:

    Magento 2 opencart connector installation

    #3 Run Commands

    You need to run the following commands:

    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento setup:static-content:deploy
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

    Language Translation

    For translating the module language, navigate through src/app/code/Webkul/MageOpenCartConnector/i18n and edit the en_US.csv file. Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

    Magento 2 opencart connector language translation

    Now, upload it to the path src/app/code/Webkul/MageOpenCartConnector/i18n where the installation of Magento 2 is on the server. The module gets translated into the Arabic Language. It supports both RTL and LTR languages.

    The user can edit the CSV like the image below.

    Magento 2 OpenCart Connector language translation

    Connecting – OpenCart Store with Magento 2 Store

    Magento 2 OpenCart Connector extension allows you to connect your OpenCart Store with the Magento 2 Store. To do so, follow the section below:

    Note: If you want to connect the OpenCart APIs so as to connect the OpenCart store with the Magento store then you must install the OpenCart Akeneo Connector in your OpenCart store.

    12-4

    OpenCart Backend:

    Navigate to your Opencart Backend via System->Users->API as per the snapshot below.

    Magento 2 OpenCart Connector

    Here, edit the already create API or create a new one as required. For now, we will edit the already created API.

    Magento 2 OpenCart Connector Edit API section

    Here, we will get the API User Name and the API Key to be used in the Magento 2 configuration settings for the extension. Apart from that, going to the IP Addresses we will add the Magento 2 website IP address where we are going to use this API data.

    Magento 2 OpenCart Connector Opencart API section

    Magento 2 Backend:

    Now, navigate to the Magento 2 backend and here you will find the OpenCart Magento Connect Option on the admin side panel with different options.

    Magento 2 OpenCart Connector side panel option

    Navigate to the Configuration option and the below section appears.

    Magento 2 OpenCart Connector general configuration settings

    Here, the admin will –

    • Choose the Magento attributes as Only Required.
    • Enter the OpenCart admin email address.
    • Enter the OpenCart API User Name.
    • Enter the OpenCart API URL, Like https://example.com/opencart/upload

    After entering the above details the Magento 2 admin will tap the Check Connection button and if the connection is successful you will see a success message for the same.

    credential verification

    So, now we have connected the OpenCart Store with the Magento 2 Store.

    Map Attributes – Magento 2 OpenCart Connector

    To Map the attributes in Magento 2 with the OpenCart attributes navigate through OpenCart Magento Connect->Map Attributes.

    Admin side panel options

    Here you can map the Magento 2 simple product attributes with the OpenCart attributes as shown below in the snapshot.

    attribute mapping at magento 2 end

    After mapping the attributes, tap the Save Attribute Map button on the top right-hand corner.

    Create Product At OpenCart

    The admin will create the product at the OpenCart end as required. To do so, create the product by entering the required details in the OpenCart backend.

    create product at opencart

    After creating the product save the product.

    Kindly note, that depending on the attribute mapping that has been done at the Magento end, the fields that have been mapped and the data for those will be imported into the Magento 2 store for the product.

    Importing Products – From OpenCart to Magento 2

    Magento 2 OpenCart Connector:

    The extension at the Magento 2 backend allows the admin to easily import the products from OpenCart into the Magento 2 store. To do so, navigate through OpenCart Magento Connect->Map Products.

    Admin side panel options

    Here, the admin will find all of the imported products from the Opencart.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_map_key_1bd3b9914670640bfe3b30fc3e43a8b128a89c355e00751fe215ba7c78fd857f_asd

    To import the products from Opencart to Magento 2 tap the Import Product from Opencart option in the top right-hand corner.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_map_key_1bd3b9914670640bfe3b30fc3e43a8b128a89c355e00751fe215ba7c78fd857f_asd-1

    Tapping the Import product from OpenCart will import the product with a success message.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_map_key_1bd3b9914670640bfe3b30fc3e43a8b128a89c355e00751fe215ba7c78fd857f_asd-2

    Now, the admin needs to run the profiler after that. For the same choose the Run Opencart Product profiler to create the product within the Magento 2 store.

    36

    After the product is created at the Magento 2 store you need to manually assign a category to the same. After assigning the category the product is visible at the storefront.

    37

    Reimport the Products:

    The admin can also reimport the products from OpenCart to Magento 2 that have already been imported into Magento 2.

    To do so, select the product that you want to reimport and from the actions dropdown select the Reimport Option.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_map_key_1bd3b9914670640bfe3b30fc3e43a8b128a89c355e00751fe215ba7c78fd857f_asd-3

    A prompt will be shown to re-import the product, tap OK on that as per the snapshot below.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_map_key_1bd3b9914670640bfe3b30fc3e43a8b128a89c355e00751fe215ba7c78fd857f_asd-4

    After execution, the product will be re-imported as per the snapshot below.

    192.168.15.47_EE246_pub_admin_opencartconnector_products_reimport_key_2baa6ab9bbca38b469fdfcc3f860d68d894e9e91759191905dd034494208e2a7_asd-1

    Support

    That is all about the Magento 2 OpenCart Connector extension. If you have any queries regarding the plugin, please contact us at Webkul Support System.

    If you’re looking to create a custom e-commerce website, it’s a great idea to hire Magento developers who can help you build a powerful and scalable online store.

    You can also check our complete Magento 2 extensions.

    Current Product Version - 4.0.2

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version Magento 2.4.6
    • Version Magento 2.4.6, OpenCart 3.0.3.8
    . . .

    Leave a Comment

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


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content