Opencart Amazon Connector integrates Amazon store with the Opencart store. With the help of this extension, the store owner can import products, orders, and customers from Amazon to Opencart.
Meanwhile, the extension also enables the store owner to export its products from Opencart to Amazon. Opencart Amazon Connector performs real-time updates of synchronized products price and quantities on the Amazon store.
Note: To obtain the Amazon MWS credentials, you need to complete the Developer Registration and Assessment, and only after that, you will receive the Amazon MWS Access keys. Webkul will not be held responsible for obtaining/generating the credentials.
Here understand the extension workflow:-
- Connect multiple Amazon seller accounts with Opencart.
- Set default quantity and weight of imported products.
- Select the default Opencart store for order sync and imported products.
- Update imported and exported products’ price & quantity on Amazon.
- Select the default Opencart order status of Amazon orders.
- Add custom price/quantity rule for the imported/exported products.
- Provide the currency exchange rate of the Amazon store.
- The admin can check the feed status of exported products.
- Import the Amazon orders according to date or order ID.
- View the customer data (name, address, email) from the Amazon orders.
- Import the Amazon product using ASIN (Amazon Standard Identification Number).
- Export Opencart Un-mapped products to Amazon Store through the cron job
- Update Mapped Product stock, price, and product image according to their Sync Source through a cron job.
- Admin can set the images as per the product variations.
- The source code is open for customization.
This module will work only in the region that’s listed on this page: https://docs.developer.amazonservices.com/en_US/dev_guide/DG_Endpoints.html
First, extract the downloaded zip file. After that, open the correct Opencart Version Folder. According to Opencart Version installed in the system. After that, upload admin, lib, catalog, and system folders and cron files to the Opencart root directory.
After that, log in to admin backend and navigate to Extensions > Extension Installer. Click the Upload button and browse the XML file, this file is in the ocmod folder. Please select the correct ocmod folder. According to Opencart version installed on your system.
Click Continue after uploading the XML file.
After uploading the XML file, please navigate through Extensions>Modifications. Now click Refresh button as visible in below screenshot.
Edit User Groups
Furthermore, go to System>Users>Usergroups. And then edit ‘Administrator’. Click Select All for both Access Permission and Modify Permission and Save it.
How to Add Cron Job:
By using a cron job, the newly added opencart product will export only to the first added Amazon seller’s account.
1)Go to your Cpanel and click on cron jobs under Advanced.
2)Move to Add New cron job then select common settings and set your time when you want to run cron file.
3)Go to command and add your path where amazon_cron.php exist.
4)Click on “Add New Cron Job”.
How to Get Amazon Credentials?
1: Login to your account at Amazon Seller Central and then navigate through Settings->User Permissions.
2: Now the section that appears, navigate to the Amazon MWS Developer Access Keys and tap the Visit Developer Credentials button to register as a developer or to view your Access keys.
3: On the Developer Central page, you can apply for MWS API Access Keys by tapping the link “apply for access here“.
4: Now, the section that appears tap the “Proceed to Registration and Assessment” button.
5: Lastly, to get the Seller ID, navigate to Settings -> Account Info. Here, under Business Information tap the ‘You Merchant Token‘ to get your seller id.
To do the module configuration, go to Extensions>Modules>Opencart Amazon Connector and click Edit button.
Choose Default Category – Select the default Opencart category for the Amazon products where they will be get import.
Default Product Quantity – Set the default quantity of Amazon and Opencart products which have zero quantity. After exporting or importing zero quantity products, this value will become the quantity.
Amazon Product Weight (in Grams) – Enter the default weight of those Amazon products which have no weight.
Opencart Un-mapped Product to Amazon(through Cron Job) – If “enabled” the unmapped product will be get export to Amazon from the first Amazon Account only.
Update Mapped products (through Cron Job) – If “enabled” then you can update the mapped product quantity and price according to their synchronization source.
Default Store for Order Sync – Select the default Opencart store for importing Amazon orders.
Amazon Imported Order Status – Select the default order status of the Amazon orders.
Default Store for Product – Select the default Opencart store where Amazon products will be import. The selected store will be assigned to all the Amazon imported products.
Product Variation (Option) Choice – Select Option 1 for importing every product from Amazon store including the variations/options.
Note – Each variation/option will be created as a separate Opencart product.
Else, select Option 2 for importing only those Amazon products which do not have any variations. The Amazon products which have variations/options will not be imported to Opencart.
Real-Time Update Settings
Further, if the store owner changes the price or quantity in Opencart, it can update on Amazon automatically using the following options:
Update Imported Product on Amazon Store – Set On to do a real-time update of imported products’ price and quantity on Amazon.
Updated Exported Product on Amazon Store – Set On to do a real-time update of exported product’s price and quantity on Amazon.
Price/Quantity Rules Settings
Price Rule For: The admin can select whether price rule should be applied for the Imports or Exports.
Quantity Rules For Imported Products: If “enabled” the quantity rule will be applied for the Imported products.
Quantity Rules For Exported Products: If “enabled” the quantity rule will be applied for the Exported products.
Manage Amazon Accounts
Amazon Accounts List
After doing the module configuration, the store owner needs to add Amazon account credentials. Go to Opencart Amazon Connector>Manage Amazon Accounts.
The following page will open showing Amazon accounts list with the Account ID, Store Name, Marketplace ID, Seller ID, and Added Date.
Add Amazon Account – Click this button to add a new Amazon account for synchronization.
Delete – Click this to remove an existing Amazon account from the list.
Edit – Click this to manage the Amazon account and do synchronization.
Add Amazon Account
After clicking Add Amazon Account button, the following page will open. The store owner needs to provide the following information:
Store Name – Enter the Amazon store name.
Select Attribute Group – The admin can choose attribute group for this account.
Marketplace ID – Enter the marketplace ID according to the region.
Seller ID – Enter Amazon seller account seller ID here.
Access Key ID – Enter Amazon AWS Access Key ID here.
Secret Key – Enter Amazon developer secret key here.
Origin Country – Select Amazon store country.
Currency Rate – Enter the exchange rate of Opencart store currency to Amazon store currency. Enter 1, if both stores are in the same country.
To do the mapping of products, go to Opencart Amazon Connector>Manage Amazon>Accounts>Edit>Map Product. The following page will open showing the imported Amazon product list with Map ID, Opencart Product ID, Product Name, Amazon Product ASIN, Sync Source, Price, and Quantity.
Import Product – Click Import Product button for importing products from Amazon store to Opencart store.
Update/Delete Exported Products – Click on this button for updating/deleting in already exported products on Amazon.
Import Products from Amazon Store
After clicking the Import Product button, the following page will open. Moreover, click Generate Report ID and importing process will start. It will import Amazon product’s name, price, weight, specifications, quantity, main product image, and description.
After generating the report ID, a success message will appear:
Further, to import products from Amazon, click Import Amazon Products button and the products will start importing to the Opencart database.
Further, or creating/updating imported products, the admin will click on Create/Update Imported product button. After successful creation/updation of the product, it will give a success message.
Mapped Product Listing
Under the following section, the admin can Map Products for the already existing products. This will allow the admin to update the existing products by clicking on the “Map Product” button as shown in the image below.
After clicking on the “Map Product” button, a Pop Box will appear on the page where the admin can enter the product that is to be mapped after this a successful message will appear in the back end.
Create/Update Amazon Store Products By ASIN
To create or update products using Amazon product ASIN ID (Amazon Standard Identification Number), click Create/Update Amazon Products By ASIN button. A small pop-up window will appear.
Enter the Amazon Product ASIN value and click Import Product button. Only one product at a time can be imported using ASIN.
Update/Delete Exported Products to Amazon Store:
The admin can update or delete exported products to the Amazon store. The admin needs to select a product first.
After that, the admin needs to click on Update Exported Product button for updating exported product and Delete Exported Product button for deleting exported product to the Amazon store.
To import orders from Amazon to Opencart, go to Opencart Amazon Connector>Manage Amazon Accounts>Edit>Map Order.
The following page will open, showing imported Amazon orders list mentioning Map ID, Opencart ID, Amazon Order ID, Buyer Name, Buyer Email, Amazon Order Status, and Order Total.
Import Order – Click Import Order button to fetch orders from Amazon store to Opencart store.
Delete – Click Delete button, to remove the records of the mapped order from the list.
Filter Order: The admin can apply the filter to orders as per their requirement like Amazon order-id, buyer name, buyer email, order total, Amazon order status, date added, Opencart order-id options.
Import Orders from Amazon
After clicking Import Order button, the following page will open. Click the Generate Report ID Before Sync Orders button.
class style=”color:blue”Note : –
- It can only import Amazon orders which are either shipped, unshipped, or partially shipped.
- It can import only those orders which were created a day before the Report ID was generated.
- If the store owner has selected Option 2 for Product Variation (Option) Choice in Module Configuration, then orders containing product variations will not be imported.
- After importing the orders from Amazon, the products in the order will also be imported to Opencart.
After generating the report ID, a success message will appear. Now, click Import Amazon Store Orders button and it will import order to the Opencart database.
Moreover, for creating imported orders to the Opencart store, the admin needs to click on “Create Imported Amazon Order“. It will create orders in the Opencart store according to the dates.
The admin can import orders through Order-ID. The admin needs to click on Import Amazon Store Orders By Order-ID button to fetch orders using the Amazon Order ID.
Enter Order Details
When the admin will click on “Import Amazon Store Orders” then the admin needs to select from which date to fetch the Amazon orders.
Create Imported Amazon Order:
This button will create all the imported orders of Amazon to the Opencart store order tab. It will give a message after creating the product.
Sync Amazon Store Order By Order ID
First, enter the Amazon Order ID to fetch and click Import Order button. Also, only one order at a time can be imported from Amazon to Opencart.
After importing the orders from Amazon store, the admin can view the Amazon orders in the Opencart store-backend. In the Order Details, the Amazon shipping will be displayed as shown in the sample order imported from Amazon store.
The store owner can fetch the customer data from Amazon store to Opencart store by importing orders. To view the Amazon customer data, go to Opencart Amazon Connector>Manage Amazon Accounts>Edit>Amazon Customers.
Moreover, the following page will open showing the list of all the Amazon customers whose orders have been synced with the Opencart store.
- Amazon customer data is fetched from the orders. So, it is essential to import the orders first.
- It will import the customer’s name, email, address, pin code, city, and country.
Further, the store owner can view Amazon customer information in Opencart back-end. It can view the name and e-mail.
It will also fetch the customer’s address, city, pin code, and country from the orders.
Export Products to Amazon Store
For exporting products from Opencart to Amazon, the admin needs to navigate Opencart Amazon Connector>Manage Amazon>Accounts>Edit>Export to Amazon.
- Disabled Opencart products will not export to Amazon Store.
- Exported products must have the ASIN (Amazon Standard Identification Number) including the variations.
- When the admin will update the exported product in Opencart, only price and quantity will update on Amazon.
- Amazon product ASIN will be mapped to Opencart product ID.
- If a product has combination or variation in Opencart, then each combination or variation will be exported as an individual product on Amazon.
- Opencart Amazon Connector will export the product’s name, price, quantity, SKU, description, and variations (If Any) on Amazon store.
Action for Export Products to Amazon:
The admin needs to select the product from product list under Store Product List menu. After selecting the products, the admin needs to click on “Export Products to Amazon”. After clicking on it, if the product successfully exported to Amazon then the admin can see a successful message “Opencart product synchronization process has been completed to Amazon”.
Manage Price Rules
The Admin can manage the price/quantity rule under the following tab as shown in the image below. Where the admin can add or edit the price/quantity rule.
The Admin can enter the price rules or can upload a CSV file for multiple rules. New rules can be created by clicking in the “Add Price Rule” Tab as shown in the image below:
Rule Type: The Rule can be of two types:
Price Rule From: The minimum price amount for which the rule will be applicable.
Price Rule To: The maximum price above which the price rule will not be applicable.
Amount Value: The quantity for which the rule will be applicable
Operation Type: The admin can select as to which operation type is required ( Incremental or Decremental).
Operation: The price of the operation can be either fixed or in percent.
Price Rule Status: The admin can select the price rule status as enabled or disabled.
The admin can mass upload price rule by uploading the Price Rule CSV file. You need to select the Upload CSV button. A new page will appear with the following options.
Rule Type: The admin can select the rule (Price/Quantity).
Enter CSV File: The admin can upload the CSV file for the price rule, with the proper file format as defined in our sample CSV file.
Amazon Add Map Product Data
When the store owner has successfully imported the Amazon products, it will find the Unique Identification Number, Specifications, Variations (If Any). This information will be visible on the Opencart store front-end.
Under the Map Product Data, the store owner can add new Map Products as shown in the image below:
Amazon Product Authorization
To view or edit the product which is mapped, go to Map Product Data>Add Map Product>Amazon Product Authorization. The following page will open as visible below:
Unique Identification Number – UIN (Unique Identification Number) helps in identifying the product. Each product will have its own UIN. There are different types of UNI used by different regions such as: –
ASIN – Amazon Standard Identification Number.
EAN – European Article Number.
GTIN – Global Trade Item Number.
UPC – Universal Product Code.
Identification Number – UIN generally consist of 10-12 digits alpha-numeric code that identifies an item.
Note – Before exporting product any product to Amazon, the store owner must provide a Unique Identification Number for each product.
Now, the admin can add the specification to Amazon, go to Add Map Product>Amazon Specification. The following page will open. After successfully importing the products from the Amazon store, specifications and values will be retrieved. The store owner can edit, add, or remove the specifications and their values.
Note : –
- The Amazon Specifications and their values will be visible on the Opencart store front-end.
- If the store owner edits or updates any specification in Opencart, it will only reflect on Opencart store front-end.
Now, the admin can add the variations or combinations to the products, go to Add Map Product>Amazon Combination/Variations.
The admin can select the variations and can set the SKU, ID type, Quantity(specified for that particular variation), Price prefix(+/-), Price Amount(added/subtracted from the product price).
The store owner can view the Mapped Product details by navigating to Catalog>Products for all the product that are imported from the Amazon as shown in the image below.
The store owner can view the store name along with the Amazon product id and its source. On selecting the store under the Map Details the owner will be redirected to the Edit Amazon Account page.
Amazon Store View
Please view the below screenshot, where the store owner is importing the product from Amazon to Opencart store.
Opencart Front-End View
After successfully importing the product from Amazon, it will appear as follows. It will show the product name, image, price, description, specifications, stock, and variations.
If products with variables are selected then the respective image for that variable is displayed. Consider a product with variation as shown in the image below.
Thank you for viewing this blog. If you have any query regarding this module, please contact us webkul.uvdesk.com.
Current Product Version - 220.127.116.11
Supported Framework Version - 2.x.x.x, 3.x.x.x