Opencart user manual where we are showing how we can manage length classes and weight classes. These lengths and weights are used by Shipping extensions like FedEx, UPS, etc, and will be used by Shipping API to calculate the shipping cost. For adding length classes go to admin >> System >> Localization >> Length Classes and for adding weight classes go to admin >> System >> Localization >> Weight classes.
You can see a list of length classes by going to admin >> System >> Localization >> Length Classes
You can add the length classes by clicking the “Add New” blue button then you will get the form below:
Length Title: Enter the name of the length like Centimeter, meter, etc.
Length Unit: Enter the length unit.
Value: Set to 1.00000 if this is your default length and for other conversions will be based on the default length.
Weight class management in Opencart
You can see the list of weight classes by going to admin >> System >> Localization >> Weight Classes
You can add the weight classes by clicking the “Add New” blue button then you will get the form below:
Weight Title: Enter the name of the weight like gram, kilogram, etc.
Weight Unit: Enter the weight unit.
Value: Set to 1.00000 if this is your default weight and for other conversions will be based on the default weight.
Add length and weight for the Product
To add length and weight for a product, go to admin >> Catalog >> Products and add new or edit the product, then click the Data tab and go to the Dimensions (L x W x H) field and enter the dimension of length, width, and height and then select the length class. Similarly, add the Weight and then select the width class.
Once you enter these details then it will be used by Shipping API to calculate the shipping cost, see the FedEx setting for height and weight:
If the FedEx setting of length class is centimeter and the product length class we enter is different then it converts automatically.
In this way, we can manage length class and weight class management. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl, subscribe to our YouTube channel for opencart tutorials, and click to see all Opencart user manuals.
A week early Opencart.com launched its new design and layout, and we were going through the website and found that it is using full-width layout but default OpenCart installation does not have full width in the content area. Thus we started to make the full-width position for different layout in OpenCart 2.2.
In this Opencart tutorial on website speed optimization, we are showing you 10 ways to speed up Opencart 3 and 4 which you can do from the free Opencart module and tips provided below. This helps to optimize website speed in Opencart and increase opencart page load speed.
Choose a better hosting provider and better cache module
Just choose a better hosting provider for Opencart, better is always expensive so choose as per your budget. Choose a good cache module for Opencart. If you are using the shared hosting then ask them which cache are they providing and use the cache module as per it, our is using LSCache so we use the LSCache module.
In the module, we just defer all the JavaScript with ‘defer=”defer”‘, with this, the script will not run until after the page has loaded, better to use only for the external scripts.
For jQuery, we load at first because it is a building block so we load at the header and without defer. The following is the Ocmod XML which makes those changes. This is done with above downloaded module and works only for the Opencart 3, for opencart 4 we will provide it soon.
One idea to size the image is to use the ratio in all image settings. The best image ratio is 16:9. So, create images of size 1200px width and 675 px height and in all settings use a 16:9 ratio. Go to Admin >> Extensions >> Extensions >> Choose Theme as extension type >> Then edit your active theme >> Then enter the sizes for Images in the ratio of 16:9, like we are using it as:
Use the proper extension for the image:
JPEGs are for photographs and realistic images. PNGs are for line art, text-heavy images, and images with few colors. See the difference
You can easily convert the PNG to jpeg or jpeg to PNG online as well as on Photoshop. Like, we use https://www.photopea.com/ online tool to convert them which is easy and fast.
Optimize the image properly
Use the ImageOptim for properly optimizing the image. It optimizes as per the page speed insight. You can download the ImageOptim here. Right-click the image and open with ImageOptim and it will optimize and replace the image with an optimized one.
Lazy loading of images:
With just adding loading=”lazy” in the image tag it will lazy load the images.
GZIP for more efficient transfer to requesting clients. The compression level must be between 0 – 9.
Gzip Compression is an effective way to reduce the size of files. To enable the text compression in Opencart, go to Admin >> System >> Settings >> Server tab >> Add the “Output Compression Level”. The value should be 0-9, what we find out is most of the time it works above 5 but hit and trial is the only option that we see. With these, it minimizes the byte size of network responses and fewer bytes means the page loads fast.
Speed up the repeat visit by serving static assets with an efficient cache policy
You can serve static assets with an efficient cache policy by adding the following code in the .htaccess file, these are just our ideas, you can make changes as per your requirement and this is code to add on the .htaccess for Apache server, if you are using nginx then you can configure similarly
First backup your database. Download the turbo.php, upload it where Opencart is installed, run YOURSITEURL/turbo.php and click the “Add Database Indexes” button, this will index all the database tables as per column name.
Or you can run the following SQL directly in your database:
ALTER TABLE `oc_category` ADD INDEX ( `parent_id` ) ;
ALTER TABLE `oc_category` ADD INDEX ( `top` ) ;
ALTER TABLE `oc_category` ADD INDEX ( `sort_order` ) ;
ALTER TABLE `oc_category` ADD INDEX ( `status` ) ;
ALTER TABLE `oc_category_description` ADD INDEX ( `language_id` );
ALTER TABLE `oc_category_to_store` ADD INDEX ( `store_id` );
ALTER TABLE `oc_category_path` ADD INDEX ( `path_id` );
ALTER TABLE `oc_product` ADD INDEX ( `model` ) ;
ALTER TABLE `oc_product` ADD INDEX ( `sku` ) ;
ALTER TABLE `oc_product` ADD INDEX ( `upc` ) ;
ALTER TABLE `oc_product` ADD INDEX ( `manufacturer_id` ) ;
ALTER TABLE `oc_product` ADD INDEX ( `sort_order` ) ;
ALTER TABLE `oc_product` ADD INDEX ( `status` ) ;
ALTER TABLE `oc_product_option` ADD INDEX ( `option_id` ) ;
ALTER TABLE `oc_product_option_value` ADD INDEX ( `product_option_id` ) ;
ALTER TABLE `oc_product_option_value` ADD INDEX ( `product_id` ) ;
ALTER TABLE `oc_product_option_value` ADD INDEX ( `option_id` ) ;
ALTER TABLE `oc_product_option_value` ADD INDEX ( `option_value_id` ) ;
ALTER TABLE `oc_product_to_category` ADD INDEX ( `category_id` );
ALTER TABLE `oc_product_attribute` ADD INDEX ( `attribute_id` );
ALTER TABLE `oc_product_attribute` ADD INDEX ( `language_id` );
ALTER TABLE `oc_product_description` ADD INDEX ( `language_id` );
ALTER TABLE `oc_product_to_store` ADD INDEX ( `store_id` );
ALTER TABLE `oc_option` ADD INDEX ( `sort_order` ) ;
ALTER TABLE `oc_option_description` ADD INDEX ( `name` ) ;
ALTER TABLE `oc_option_value` ADD INDEX ( `option_id` ) ;
ALTER TABLE `oc_option_value_description` ADD INDEX ( `option_id` ) ;
ALTER TABLE `oc_url_alias` ADD INDEX ( `query` ) ;
ALTER TABLE `oc_url_alias` ADD INDEX ( `keyword` ) ;
ALTER TABLE `oc_url_alias` ADD INDEX ( `url_alias_id` );
Developer or Designer tasks: Ensure text remains visible during Webfont load
Follow the idea provided at https://developers.google.com/web/updates/2016/02/font-display. Just for your information, we tried that and in our case, we used font-display: swap,and only works. Something like below:
In this way, you can perform the Opencart website speed optimization, please let us know if you have any other tips and tricks. You can visit Opencart SEO to read around 25 best practices for Opencart SEO. Let us know if you have questions or concerns so that we can help you out. Till then please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook.
In OpenCart version 3, we can see the theme editor features where the administrator can directly change the code in the template of the default theme from the admin dashboard. While we test on Opencart version 3.0.3.2, we were able to edit only the default template, if we activate another theme, we still keep seeing the default theme’s template files, so it looks like it is working only for the default theme. So, if you guys are using the default theme then you can make the code changes directly from the admin, with no need for FTP or SFTP configuration.
Steps to make the theme editor
Login to the admin and then navigate to Design >> Theme Editor, where you see a dashboard like below image:
You can choose the store that you like to make changes to, here we choose the default store. You can see the theme history which lists out all the files changed. In the template section, you can select the folder and it will show the files where you can edit the file. You can get more details about the files and folders in the Opencart video. Let’s click the account, it will show lists of twig template files in that theme folder, once we click on the account we see these twig files list when we click on the account.twig then we see code on the right.
We like to hide the breadcrumbs so in the code we add style=”display:none;” like above, and see in the front end the breadcrumbs are hidden on the account page. If you see an error then you can click the Reset button which will change to the default code.
In this way, you can make the code change directly from the admin section. If the code changes are not seen don’t forget to clear the theme and SASS cache from the dashboard, likewise go to Extensions >> Modifications and then click the refresh button. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us on our Twitter account @rupaknpl. Subscribe to our YouTube channel for Opencart tutorials, and click to see all Opencart user manuals.
In this Opencart tutorial, we show you how to set up taxes with geocodes in Opencart for each product by giving you an example of US taxes for California residents 8.75%. Setting up taxes in OpenCart is essential to ensure compliance with local regulations and accurate pricing for your customers. With OpenCart’s geo zones feature, you can easily configure tax rates based on the geographic locations of your customers. Here’s a step-by-step guide to setting up taxes in OpenCart using geo zones.
Why Use Geo Zones for Tax Setup?
Geo zones in OpenCart allow you to apply specific tax rates based on customer location, which is especially helpful if you operate across multiple regions or countries with varying tax rules. By customizing tax rates per region, you can:
Ensure Accurate Tax Calculation: Meet tax regulations based on customer locations.
Simplify Tax Management: Easily manage and update tax settings as needed.
Enhance Customer Experience: Provide transparency in pricing with region-specific tax rates.
Step-by-Step Guide to Setting Up Taxes with Geo Zones in OpenCart
Let’s dive into setting up taxes in OpenCart by using geo zones.
Step 1: Define Geo Zones for Target Regions
Go to the OpenCart Admin Dashboard.
Navigate to System > Localization > Geo Zones.
Click Add New to create a geo zone.
Fill in the Geo Zone Name (e.g., “US State Tax” or “EU VAT Zone”) and add a Description.
Under the Geo Zone tab, click Add Geo Zone.
Select Country and Region/State to specify the areas this tax rate applies to.
Save the geo zone.
Repeat this step for each location where you need to apply specific tax rates.
Step 2: Create Tax Classes for Different Products
Tax classes help apply tax rates to various product types. To create tax classes:
Go to System > Localization > Tax Classes.
Click Add New to create a tax class.
Enter the Tax Class Title (e.g., “Standard Tax,” “Reduced Tax”).
In the Tax Rate section, specify:
Priority: Set a priority level if you have multiple tax rates.
Geo Zone: Select the geo zone to apply to this tax rate.
Save the tax class.
Step 3: Define Tax Rates
Go to System > Localization > Tax Rates.
Click Add New to create a new tax rate.
Fill in the following:
Tax Name: Give it a descriptive name, like “California Sales Tax.”
Rate: Enter the percentage of the tax rate (e.g., “8.5”).
Type: Select Percentage for most tax setups.
Geo Zone: Choose the geo zone you created earlier.
Save the tax rate.
Repeat for each tax rate that corresponds to your geo zones.
Step 4: Apply Tax Classes to Products
Go to Catalog > Products in the OpenCart Admin Dashboard.
Edit the product to which you want to apply the tax class.
In the Data tab, locate the Tax Class dropdown.
Select the appropriate tax class (e.g., “Standard Tax” or “Reduced Tax”).
Save your changes.
Step 5: Configure Store Tax Settings
For OpenCart to apply the correct tax rates based on geo zones, check your tax settings:
Go to System > Settings > Edit for your store.
In the Options tab, set the following:
Display Prices With Tax: Choose Yes if you want product prices to include taxes.
Calculate Taxes Based On: Select the Shipping Address or Payment Address depending on your tax regulations.
Use Store Tax Address: Choose whether to use the store’s location for tax calculations on non-shipping orders.
Step 6: Test the Tax Setup
Place a test order to confirm that taxes are calculated correctly based on the customer’s address. Ensure that products display tax-inclusive prices (if configured), and verify that different addresses in your geo zones reflect the accurate tax rates.
Need to set up US Taxes for California residents where CA Tax is 8.75%.
Login to Admin
Go to Left Menu >> System >> Localisation >> Geo Zones >> Click Add button, then fill as in the image below:
Go to Left Menu >> System >> Localisation >> Taxes >> Tax Rates >> Click Add button, then fill as in the image below:
Go to Left Menu >> System >> Localisation >> Taxes >> Tax Classes >> Click Add button, then fill as in the image below:
Please choose the Payment Address or Shipping Address as per your need.
Now go to Catalog >> Products >> Add/Edit your product >> Choose the Tax Class:
In the checkout section tax is applied when your payment address’s state is California:
Conclusion
Configuring taxes in OpenCart using geo zones allows you to automate tax calculations accurately across various regions. By following this setup, you ensure compliance and transparency with customer pricing, enhancing both store management and customer experience. With OpenCart’s flexibility, you can adapt to regional tax changes easily and continue to scale your business globally. In this way, you can set up taxes with geocodes in Opencart. Let us know if need any support. Hope you liked this post, please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook.
The error “A theme has not been assigned to this store!” in OpenCart usually means that a theme is not set for the current store, often due to configuration issues after a fresh installation or update.
Here’s how to resolve it
Assign a Theme to the Store:
Go to the OpenCart Admin Dashboard.
Navigate to System > Settings.
Select the store you are configuring (e.g., Default Store).
Go to the Theme tab.
Ensure that a theme (e.g., Default or your custom theme) is selected in the “Theme Directory” dropdown.
Click Save to apply the settings.
Sometimes you will see the above theme error and when you log in to the admin section you will see an error notice like: “Notice: date_default_timezone_set(): Timezone Id is invalid”. In that case, you can just set the timezone in the local tab of settings.
Clear the Cache:
Go to Dashboard > Extensions > Modifications.
Click on the Refresh button to clear and rebuild the modification cache.
Next, navigate to Dashboard > Developer Settings.
Under Theme and SASS, click Clear Cache.
Verify the Theme Files:
Ensure that the theme files are correctly uploaded to the /catalog/view/theme/ directory.
If you’re using a custom theme, verify that its files are correctly installed and compatible with your OpenCart version.
Database Check (if required):
If the above steps don’t resolve the issue, you may want to check your OpenCart database.
In the oc_setting table (prefix may vary), look for the key config_theme under your store’s settings, and ensure it matches the directory name of your theme in /catalog/view/theme/.
After these steps, your store should be assigned a theme, and the error should be resolved. Let us know if you encounter any further issues! lease let us know if you have any kind of projects, you can email us at webocreation.com@gmail.com. Please subscribe to our YouTube Channel and get more Opencart free extensions and tutorials. You can also find us on Twitter and Facebook.
With the launch of Opencart 4 we did not find the Google Analytics Opencart 4 module that we used to have in Opencart 3, so to fulfill that requirement we created a free Opencart extension called Third Party JS extension where you can add the Javascript code provided by third-party like Google Analytics, Facebook pixel, etc and add it on this extension.
Log in to Admin >> Extensions >> Installer >> Click the Upload button and select the file that ends with .ocmod.zip. In the above download example, it is third_party_js.ocmod.zip. Once it is installed you will see the “Third Party JS” in the installed extensions.
Once you uploaded the zip file, you click the install green icon to install the extension.
Once you clicked the install button, your extension is installed successfully
Once you see the success message. Now you can go to Admin >> Extensions >> Extension. Then, choose the extension type “Analytics” and click the install green install button.
Once you click the install button, you can edit the store and you will see a form where you can install the third-party JavaScript like below and enable the status and click the blue save button.
After clicking the save, now the JavaScript code is shown at the head tag.
In this way, you can install the Opencart 4 extensions and use our free Opencart 4 analytics extension for your website. Hope you liked this post, let us know if you have any questions or suggestions, please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook. Enjoy Google Analytics Opencart 4 module!
As we were in the process of upgrading the Opencart from 3 to 4, we complete the upgrade and saw our admin dashboard reports are all gone, and it took us some time to figure out where we can enable the dashboard reports. Here is our finding which was so simple:
Empty Dashboard:
Dashboard reports
Every report is created as the dashboard extension, so to add the reports, go to admin >> Extensions >> Extensions >> Filter out with Dashboard >> Install all the extensions needed >> Edit it >> Give the width >> Enable the status >> Add sort order where you want to show and Save. As we need all of the reports so we enable all of the Dashboard reports.
With the above settings, you will be able to see reports like below:
In this way, you can enable or disable the required admin dashboard reports. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl and subscribe to our YouTube channel for opencart tutorials.
As we see some Opencart users are complaining that their email is not working in Opencart and are not able to see the Contact Us form email, the order email, or other email updates. We have listed some of the ways to fix them.
Way to fix Email Deliveries that are in Cpanel
Login to the Cpanel and see the Email section
In the Email Deliverability listing you can see if there are issues to fix or if everything is valid
If problems exist (DKIM and SPF) etc, then click the Manage and fix things that are shown in the lists.
Go to your Domain registrar and enter those values, for example:
Then, check the Email Deliverability again and check everything is valid.
With this, the email should start sending.
Email code in Opencart
Whenever the Mail class is instantiated like below and called the send method then you can say Opencart is sending an email. Example email code is:
You can find these codes in admin/controller/mail/forgotten.php, catalog/controller/mail/register.php, catalog/controller/mail/order.php, catalog/controller/mail/affiliate.php, etc.
Check the email settings again
Login to admin of Opencart >> System >> Settings >> Edit the store that email is not sending >> Click the Store tab >> Check if the email is set or not.
Now, click the Mail tab, here are the settings to enter the email details.
Mail Engine: You can choose either Mail or SMTP in the Mail engine. Only choose ‘Mail’ unless your host has disabled the PHP mail function.
Mail: When you choose the Mail option, enter your email in the Mail Parameters. It is always best to enter the email of your website rather than using Gmail email or other email clients. If you send emails from other emails than your website then receivers can take it as spam. Like in the example: we use info@webocreation.com. If you choose Mail then you don’t need to enter the SMTP details.
Sometimes, you need to enter the Mail Parameters as -f info@webocreation.com
SMTP:
You can use third-party email services which provide SMTP to send an email. All SMTPs provide the following information
SMTP Hostname
SMTP Username
SMTP Password
SMTP Port
Here is one example, one of the SMTP providers provides the following information:
Enter the above SMTP settings in the Opencart by choosing the Mail engine as SMTP
Every SMTP provider gives you the above information. The only thing is it can cost you extra.
Check Mail Alerts settings
Go to admin >> System >> Settings >> Edit store >> Mail tab >> Mail Alerts section
If you did not check the checkboxes for the one that you want to be alerted then these need to be checked.
Check all Events are set properly for Opencart 3
From Opencart 3.0+ all mail needs to be set as Events in Opencart. Go to admin >> Extensions >> Events and check if all of the below events are added or not.
With the above setting, an email should be sent if all servers’ settings are good.
Check if MX records are added for your domain or not. You can look for an online tool that checks for MX records. Here is one example:
If you did not have the MX records then you need to add them.
Once your MX records are added, now is time to check for Email Routing
If cPanel:
If you are sending email from your server and you have chosen Mail as “Mail Engine” then check for Email Routing in the server and see whether the Email routing is configured to Local Mail Exchanger. But if you are using SMTP then the Email routing needs to be configured to Remote Mail Exchanger.
Check the email quota of your server
Most of the email servers have some email quota so if you reach that number they block sending the email, so verifying with the hosting provider is a way to check as well.
Sometimes you get an email like the one below from your hosting provider.
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
Domain ****.com has an outgoing mail suspension. Message discarded.
Check if your hosting provider blocked the email services
Sometimes hosting providers or servers block the email services and even block the third-party services or SMTP, they need to unblock the mail services, so ask them to unblock it.
See one example they have posted on their website:
Upon checking the logs, I see that the email services were suspended for sending more than 1000 messages in the past 24h on November 19th, 2020 which was 2 years ago. We do have an email sending limit on our shared/reseller hosting which is 500 emails per hour, and 1000 emails per day for an account in which exceeding the limit causes email services to suspend.
Check your mail filter settings
If you don’t receive mail from a particular email you can whitelist it in your mail filter and check the spam folder as well.
In this Opencart user manual, we went through email not sending issues and ways to solve them. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl, and subscribe to our YouTube channel for an opencart tutorial. Click to see all Opencart user manuals.
In Opencart, you can easily set up an eCommerce website to sell ebooks, pdfs, music, video, software application, or other digital products and on successful completion of order, they can download the digital products directly from the download section of Opencart. The files or zip can be uploaded to the server, assigned to the product and registered customers can order them and download the files of the product and get the instant download.
Following are the steps to create digital products in Opencart, here we take an example of PDFs
Add/Upload the download file
Go to Admin >> Catalog >> Downloads
Click the blue plus button, and you will see a form where you can upload your digital assets in our example it is PDF Enter the “Download Name”. In the Filename, click the upload and upload the PDF file, a successful message is shown and the filename is auto generated. With this auto generated filename and the upload folder is outside of the access folder, it is secured for easy access. You can enter the mask name as per your requirement, better to have the extension, where in our case is “.pdf”. It is recommended that the filename and the mask are different to stop people trying to directly link to your downloads.
Click Save button, with this your download is ready to assign to the product.
Add product and assign the download
Go to admin >> Catalog >> Products >> Click add blue button
Enter the Product details, like Product name, Description, Meta Tag Title etc
In the Data tab, enter more details of the book like Model, ISBM, Prices, Tax Class, Quantity can be 1, Subtract Stock to No, Requires Shipping to No.
** It is better to make the “Requires Shipping” to No so they don’t need to enter the shipping addresses when they order only the digital products.
Likewise, enter other details as required.
Now, in the Links tab, select Manufacturer, enter the Categories, Stores and the main thing is you need to add the Downloads. Start typing the downloadable product name and select the right download.
You can enter the Related Products, and you can enter other details as required. You can add images etc.
Click Save and the Product is live. You can see the product like below:
How to make instant downloads available for digital products?
There are two settings you need to set to make the instant downloads available once the order is successful or complete.
First, go to admin >> System >> Settings >> Edit Store >> then Option tab >> scroll to the Checkout section where you will see the “Complete Order Status” field, and check the “Complete” option.
Second thing, you need to set the complete status of the Payment module to complete.
Here is an example of Paypal Payments Standard Order status, the Completed Status is selected to Complete.
Likewise, another example is of 2Checkout payment module, you need to select Order Status to Complete for instant download:
Once, these two are set to complete then when payment is successful then the download is instantly available.
How will customers order the pdf or digital products?
Customers visit the product detail page, click “Add to Cart”, checkout, enter the details. As shipping is not required, the checkout steps will not show the shipping address section.
Once you entered the billing address, select the Payment Method and confirm the order and make the payments then you will see a success message like below:
If the store sets the order status the customer’s order must reach before they are allowed to access their downloadable products as complete and the payment successfully will create the order status as complete then the download is available instantly.
The customer can click the downloads link on the success page, or they can click the download links in the menu or profile dashboard, and get access to their downloads.
They can click the download and access the PDF instantly after the order is successful.
Things to consider
Guest checkout is not available for download products in Opencart. Allow customers to checkout without creating an account. This will not be available when a downloadable product is in the shopping cart.
In this way, we can set up a digital product store in the Opencart and sell pdfs, mp3, images, zip, etc. Please don’t forget to post your questions or comments so that we can add other topics as you required. You can follow us at our Twitter account @rupaknpl and subscribe to our YouTube channel for opencart tutorials and see lists of posts for the Opencart user manual. Happy learning.
Opencart 3 and 4 support multi-currencies so with Opencart we can sell in any currency, anywhere in the world. Go to admin >> System >> Localization >> Currencies where you will see the currencies available for use in the storefront. In the store by default, there are Euro, Pound, and US dollars but only the US dollar is enabled by default.
The default currency is set to a value of 1. When you enter the product’s price we need to enter it as per the default currency with value 1. Every value of the currency will be relative to this value as per the above image the value of the US Dollar is 1.0, and the Euro is calculated to be 0.85500002. The frontend price is calculated and converted as per the currency value which is 1. If Auto Update Currency is enabled then the currency is auto-updated.
Don’t confuse with default currency and value 1 of currency
Here, you need to enter the price worth with the currency value equal to 1. Don’t enter the default currency value; you need to enter the price of the currency value equal to 1. They are mostly the same, but be sure the currency value is 1 and it is the default currency.
How do we add the currency in Opencart 3 & 4?
To add the currency, go to admin >> System >> Settings >> Localization >> Currencies and click the Add New blue button and you will see the form below:
Currency Title: Enter the name of the currency that you want to show in the front end. Code: The ISO currency code, you can get the currency code at https://www.ibm.com/support/knowledgecenter/en/SSZLC2_7.0.0/com.ibm.commerce.payments.developer.doc/refs/rpylerl2mst97.htm Symbol Left: You can find the currency symbol at https://www.xe.com/symbols.php and if you want to show the symbol to the left of the price of the product then add it here. Symbol Right: You can find the currency symbol at https://www.xe.com/symbols.php and if you want to show the symbol to the right of the price of the product then add it here. Decimal Places: The number of decimal places that you want to show in the front end. Value: The default currency will be set to a value of 1 and other currency will be converted value. Status: You can enable or disable the currency in the front end.
How do we change the default currency in Opencart 3 & 4?
To change the default currency in Opencart 3 or 4, go to admin >> System >> Settings >> Edit the store >> then click the local tab and in the currency field change the currency that you want to make the default. Then, set your store to automatically update currencies. After that clear your browser cache to see the change and reset your existing cookies. Now your default currency in the Opencart 3 or 4 is set.
How do auto-update currency exchange rates work in Opencart 4?
In Opencart 4, by default, there are auto-update currencies as per the currency rate converter engine “European Central Bank Currency Converter”. To enable it, log in to admin >> System >> Settings >> Edit the store >> Local tab and enable Auto Update Currency field and select the Currency Rate Engine and Save. Now, your store is set to automatically update currencies daily.
As we see Opencart is using this URL to get the currencies’ value https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml, as seeing the values it supports only some currencies so auto-update currencies may not be supported for all currencies.
Fix the cron job so that it gets updated daily
If you are seeing the auto-update is not working then your corn job is not running, make sure it is running daily. To check the status of the cron jobs, log into admin >> Extensions >> Cron Jobs and see the date modified and you can run the cron jobs from there as well.
In this way, you can manage the currencies on the Opencart store. Please don’t forget to post your questions or comments so that we can add extra topics, free modules, or opencart tutorials that we need to develop which helps to develop quality. You can follow us on our Twitter account @rupaknpl and subscribe to the YouTube user opencart tutorial.
Selecting the best eCommerce platform when establishing an online store is essential to the success of your enterprise. With so many possibilities, two prominent solutions that frequently stand out are OpenCart and Shopify. Both systems provide distinctive features catered to various customer groups and particular requirements for eCommerce development. However, the question is; how do you select the one that will be suitable for your business organization? In this post, we will help you understand OpenCart vs. Shopify and indicate the pros and cons of these tools.
What is OpenCart?
OpenCart is one of the best features that business people can use to create an online store since it is open source. Because of these attributes, it has a large number of developers and merchants with some level of technical expertise required to develop add-ons for the application.
Features of OpenCart
Open-source platform: OpenCart is an open source that can be downloaded and installed for free meaning that it will not burden any business.
Multi-store functionality: It allows you to work with multiple stores from a single pointing interface
Extensions marketplace: You have access to thousands of modules and themes that can help improve your store.
Supports multiple languages and currencies: This makes it a suitable option for businesses that conduct their operations in the global market.
Customizable: As a matter of fact, it is an open-source software that fact gives developers complete control of customization as well as design.
Advantages of Using OpenCart for E-commerce
Cost-effective: Being an open-source software, OpenCart is free to download which means you only need to incur expenses on hosting as well as the specific modules that you might consider relevant for your store.
Customizable: It can create a range of applications that are unique and provide opportunities primarily for the developers.
Multi-store management: OpenCart provides an option of running several stores through different administering panels.
SEO-friendly: It turns out that with the proper extensions, you may manage SEO for your OpenCart store.
Limitations of OpenCart
Technical expertise required: While installing and configuring OpenCart, some basic knowledge about coding is necessary, which is not suitable for everyone
Less support: While there are many developers in the OpenCart community, OpenCart does not enjoy the sort of support that comes with hosted e-commerce platforms like Shopify
Extensions dependency: Most functionalities are only available through third-party extensions that need to be purchased, making expenses grow over time.
What is Shopify?
Shopify is an open, independent eCommerce solution that includes all the tools needed to start and run an online business. This website is famous for its simple navigation and rich set of instruments intended to help users facilitate their sales through the Internet.
Key Features of Shopify
Fully hosted platform: That’s why, when using it, you do not have to worry about website hosting, security, and performance which is managed by Shopify automatically.
User-friendly interface: Shopify is easy to use regardless of the user’s level of technical knowledge; anyone can easily open and run a store.
App ecosystem: There are thousands of apps available in the Shopify App Store to increase the functionality of your store, including SEO.
Secure and reliable: Furthermore, Shopify has pre-integrated SSL certificates and secures the sites around the clock against fraudulent activities.
Mobile optimization: The Shopify template is responsive in nature and this helps in enhancing the convenience of the shoppers.
Advantages of Shopify for E-commerce
Ease of use: A very user-friendly interface with a drag-and-drop editor and a selection of ready-to-use themes helps in creating a professional-looking store without having to code.
Customer support: Some added features that came with Shopify are its accessibility for the customer to have customer support that is available 24/7 through the use of a live chat, email, or even phone in case of an emergency, especially for people with little or no technical skills
Scalability: Shopify is designed to grow with you, and therefore this platform is suitable for both small businesses and large businesses.
SEO and marketing tools: One of the critical benefits of using Shopify is that it is integrated with SEO capabilities and has numerous marketing tools to attract visitors to the store.
Fast and secure: Since Shopify is a hosted platform, it deals with many server-related problems and guarantees absolutely fast access and secure payments on the Internet.
Limitations of Shopify
Monthly fees: Like any other software, the use of Shopify requires a subscription, making it more costly than platforms such as OpenCart which are open source.
Limited customization: Shopify provides flexibility to a certain extent in terms of customization, which is comparatively lower than that offered by open-source platforms.
Transaction fees: Shopify takes transaction fees if not using Shopify Payments, which adds other costs.
OpenCart vs Shopify Comparison
Here’s the comparison image for OpenCart vs. Shopify. Now, here’s the table summarizing the key differences:
Criteria
OpenCart
Shopify
Customization
Provides almost endless variability to accommodate most specific demands, which would require strong internal IT solutions or outsourcing to third-rate developers.
It has its own framework which restricts user freedom because of this, it is less flexible compared to OpenCart.
Ease of Use
It presupposes the client has more technical skills more so with regard to installation and setup of the product.
It presupposes the client has more technical skills more so with regard to the installation and setup of the product.
Pricing
Completely free, but you will have to spend money on hosting, themes, and plug-ins
Shopify is arranged on tiers, and has add-on fees for apps and themes.
Features
More complex through extensions but very flexible and current, it has some weaker aspects of ‘ready-made’ tools that Shopify offers.
Shopify is arranged on tiers and has add-on fees for apps and themes.
Support
Relies on community support, which may not be as responsive as the 24/7 customer support offered by Shopify.
Offers Assistance for customers 24/7 making it convenient for new users especially when they encounter some software problems.
SEO & Marketing
Does not have built-in features for advanced SEO modules but the site is capable of very good optimization if this option is properly implemented.
It includes native SEO capabilities and is compatible with multiple marketing apps, thus allowing companies to handle SEO seamlessly.
Conclusion: Which Platform is Best for Your Business?
When it comes to choosing between the two options, that is OpenCart and Shopify, it is more of a case of identifying your business requirements and your IT expertise. If you work with an eCommerce development companyto work with, they tell you which platform best suits your needs in the long run and is technologically superior.
OpenCart can be recommended for businesses that need to have full control over changes happening in the store’s design and settings, as well as possess the necessary skills in working with open-source platforms. This is an affordable option, particularly for those who will be uncomfortable handling the backend of their store.
Shopify, on the other hand, is best for users who want to begin e-commerce without much IT complexity and with good support from the hosting provider. This is especially ideal for companies that require simplicity, flexibility, expandability, and rapid integration over affordability, despite the latter’s increased afterward.
In Opencart 4 we can add countries and their zones, zones are states or regions as per country. For adding countries go to admin >> System >> Localization >> Countries and for adding countries’ zones go to admin >> System >> Localization >>Zones. These countries and zones are used in the Shipping Address and payment address, and while registering as the guest checkout to add the shipping address.
The lists of countries are available at admin >> System >> Localization >> Countries in Opencart 4.
To add a new country click the “Add New” blue button and enter the details.
Address Format: You can format the address according to your needs and the country. For example, we add the following in the address format field for the “Aaland Islands” country:
First Name = {firstname}
Last Name = {lastname}
Company = {company}
Address 1 = {address_1}
Address 2 = {address_2}
City = {city}
Postcode = {postcode}
Zone = {zone}
Zone Code = {zone_code}
Country = {country}
Now when we select the shipping or billing address country “Aaland Islands” then it will show like the below:
First Name = Rupak
Last Name = Nepali
Company = Axway
Address 1 = 6735 East Greenway Pkwy
Address 2 = Apt 2159
City = Scottsdale
Postcode = 85254
Zone =
Zone Code =
Country = Aaland Islands
This way, you can format the shipping and billing addresses as per the country.
Zones or Regions or States management in Opencart
Once we enter the countries we can enter the zones of those countries. For that go to admin >> System >> Localization >>Zones where you can see the lists of zones regions or states.
We can add a new zone as well for that click the “Add New” blue button and you will see a form similar to below:
Zone Name: Enter the zone name
Zone code: You can find the Zone code at https://www.iso.org/obp/ui/#iso:code:3166:NP, search for the country and it will give lists of zones or regions or states and you can see the Zone code.
Country: Select the country the zone is related to.
Status: Enabled it to enable and disabled it to disable.
You can see the country and state mostly at the billing address and shipping address.
In this way, we can manage the countries, zones states, or regions in Opencart 3. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl, subscribe to our YouTube channel for opencart tutorials, and click to see all Opencart user manuals.
In Opencart 4 we can show multiple store locations on the contact us page, go to admin >> System >> Localization >> Store location and add the locations there and select the store locations at the System >> Settings >> Store tab and select the location, and it will show in contact us page.
Here is an example to show how to show multiple store locations on the contact us page:
Go to admin >> System >> Localization >> Store Location, you will see the listing of store locations below image:
On that page, click the “Add new” blue button where you get a form to insert the location of the new store. Enter the details.
Once you entered the details, click the Save button. Enter as many stores as you have then go to admin >> System >> Settings >> Edit the store >> go to the store tab >> and at the bottom, there are store locations listed, click the checkbox which you want to show.
Now go to your contact us page in the storefront and you can see the listing below:
In this way, you can show multiple Store Locations on the contact us page of Opencart. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl and subscribe to our YouTube channel for opencart tutorials.
Then download the language pack, for demo purpose, we are choosing “Spanish” language. Once you clicked the download button if you are not logged then it redirects to log in page else it will show the download section. Download the right version. As we are using Opencart 3 so we download the “3.0.2.0 Spanish Translation“, you will get a zip file like “Opencart Espanol 3.0.ocmod.zip”. Now go to admin >> Extensions >> Installer >> click Upload and select the zip file just downloaded “Opencart Espanol 3.0.ocmod.zip”. After you see the upload success message, go to admin >> Extensions >> Modifications and click the refresh button at the top right corner.
How to add a new language pack in Opencart 4?
Go to admin >> System >> Localization >> Languages. The language section is to manage the languages for the store, by default it has the English language. Click the blue “Add New” button then you will see a form like below:
If your language pack is uploaded properly then it will show in the dropdown of the code. For our example it is “es-es”, so we entered the details as in the above image.
Language Name: We can give any name but better to give a lexical name as this is shown in the frontend of the store. For our example, we gave it “Spanish”.
Status: To enable the language at the front select it Enabled.
Sort Order: This the order to show the languages in front of the dropdown.
With the above settings, we can see the dropdown of languages like below image:
How to change the default language of Opencart?
To change the default language to another language, go to admin >> System >>Settings >> Edit the store. Click the Local tab and select the Language and Administration Language to the preferred language.
In this way, we can upload a new language, install the new language in Opencart 4, show it in front of the store, set the different default languages other than English. If language is not available yet for Opencart then you need to create by yourself, we show in a blog post, How to create a custom language for Opencart 4?. Please don’t forget to post your questions or comments so that we can add extra topics, free module or opencart tutorial that we need to develop which helps to develop quality. You can follow at twitter account @rupaknpl and subscribe to YouTube user opencart tutorial.
To manage the Opencart admin section, opencart can have multiple users with different users group and each user group can have different permissions for the management of Opencart stores. The powerful user group is the Administrator by default but you can change it as per your requirement. For users, user groups, and permissions management, go to Admin >> System >> Users where you will see as below in the left menu:
First, go to Admin >> System >> Users >> User Groups, where you can see Administrator and Demonstration, edit Administrator and you will see like below:
As the Administrator is a superuser, everything is checked. Be sure to whom you are making the Administrator user.
There are two permissions: Access Permission and Modify Permission. With Access permission, the user can see the page which is checked. With Modify permission, the user can edit the section which is checked.
How to identify the page for permission in Opencart?
In Access Permission and Modify the permission on the right side you see the checkbox which is the parts of the URL and the route of the page. Like:
In the above URL after the route= you see catalog/category which is the one you will see on the right side of the access and modify permission. So you can now find your URL and decide how to give permissions to the User groups.
Now let’s take some examples of how we can manage the users and their roles which are user groups and permissions.
In the above image example, there are three User groups: Administration, Demonstration, and Product manager. For the Administration, all are checked for both Access permission and modification permission as they are the superuser. For Demonstration, only access permission is checked as they can demonstrate reports and analyze them that is why modifying permission is not given. A product manager, their role is to edit the products and add the products that are why they are permitted some of the Access permission and some of the modify permissions like the catalog/product, catalog/category, etc.
Once user groups are set up now we can add the user. To manage the user go to Admin >> System >> Users >> Users
From this user listing page, you can add, delete and edit the user. Let’s add a user, for that click the blue button at the top right corner and you will see a form like below:
Enter the details like username, select User Group, first name, last name, email, image, password, confirm, and status. Then click Save and the user is added.
Now, let’s learn about the Opencart API user, go to Admin >> System >> Users >> API and click the blue button to add the API user, you will see the form below:
Enter the API username, and click the Generate button to generate the API key automatically, and click status to enable. Then click the IP Addresses where you need to enter the IP addresses of your server which will be accessing your API.
Then you can click the save button. In the Session tab, you can see the token, IP, and date when the API is called or accessed like the below image:
To use the opencart API and manage the API users you can watch this video where we defined the Opencart API:
For Opencart API detail you can check the following blog posts:
In this way, we can manage the users, user groups, access permission, modify permission, and API users in the Opencart. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl and subscribe to our YouTube channel for opencart tutorials. Happy learning.
This is an Opencart guide where we are showing you the setting configuration in Opencart 4. Go to Admin >> System >> Settings and edit the store, and we will define the fields in general, store, local, option, image, mail, and server. Opencart user manual
General Tab
Store tab
This setting tab is mostly for the contact us page email and display of information.
Store Name: The name of the store. This information is shown on the contact us page.
Store Owner: The name is used in the “Form:” section of the email sent from the store.
Address: The address of the store. This information is shown on the contact us page
Geocode: Go to google map and find your store address, right-click it and click “What’s here?” which gives you a popup with longitude and latitude which will show in the contact us location section.
Email: The email field’s email is where the email is sent when the contact us form is filled out.
Telephone and Fax: Telephone and Fax are shown in the Contact us location section
Image: Icon or logo that you can show in the location section of the contact us page
Opening Times: You can list out the opening and closing times of your store which are shown on the contact us page.
Comment: You can add some comments that you can show in the location section of the contact us page
When you entered those details then the default contacts us page will look like the below:
Local tab
In the local setting tab, we set up localization of the store, we will enter the data of country, region, language, currency, length, and weight at the Localisation setting. Here we select default localization for the store.
Option tab
The “Option” tab in the Settings has the following setting fields: Products, Reviews, Vouchers, Taxes, Account, Checkout, Stock, Affiliates, Returns, and Captcha.
Products setting in Opencart
In Opencart 4, there are only two products settings:
Category Product Count: Show the number of products inside the subcategories in the storefront header category menu. Be warned, this will cause an extreme performance hit for stores with a lot of subcategories! We suggest selecting “No” for the performance.
Default Items Per Page (Admin): Determines how many admin items are shown per page (orders, customers, etc). After this number, it will show the pagination.
In previous versions, there used to be product numbers to show in the storefront and limit description and image sizes but it is now moved to the theme settings section at Extensions >> Extensions >> Select theme >> Edit the theme and you will find all those setting there.
Reviews settings in Opencart
On the product detail page, there is a review section, these are the settings for that review section.
Allow Reviews: Enable/Disable new review entries and display of existing reviews.
Allow Guest Reviews: Select Yes if you allow guests to post reviews for products.
Vouchers setting in Opencart
Store owners can send Gift Vouchers to customers from the admin section or store visitors can also go to store URLs like https://YOURURL/index.php?route=account/voucher and buy the gift vouchers and send them to Recipient’s email and the recipient can get the store credit of the send amount. These are the setting for the Gift Vouchers.
Voucher Min: Minimum amount a customer can purchase a voucher for.
Voucher Max: Maximum amount a customer can purchase a voucher for.
Display Prices With Tax: If this is selected as “Yes” then the price includes tax, but, if it is selected as “No” then taxes are added to the shopping cart only.
Use Store Tax Address: Use the store address to calculate taxes if the customer is not logged in. You can choose to use the store address for the customer’s shipping or payment address.
Use Customer Tax Address: Use the customer’s default address when they log in to calculate taxes. You can choose to use the default address for the customer’s shipping or payment address.
Account settings in Opencart
These are the settings for the accounts in Opencart:
Customers Online: If this is selected Yes then you can track customers online via the customer reports section. Go to admin >> Reports >> Who’s Online and you can see the Online Report.
Customers Activity: If this is selected Yes then you can track customers’ activity via the customer reports section. Go to admin >> Reports >> Choose the report type as “Customer Activity Report” and see the activities of the customer.
Log Customer Searches: If this is selected Yes then you can track what logged-in customers are searching on the website which may help you to add those products to featured products or make some products show decisions. Go to admin >> Reports >> Choose the report type as “Customer Searches Report”
Customer Group: Default customer group.
Customer Groups: Display customer groups that new customers can select to use such as wholesale and business when signing up.
Login Display Prices: Only show prices when a customer is logged in.
Max Login Attempts: Maximum login attempts are allowed before the account is locked for 1 hour. Customer and affiliate accounts can be unlocked on the customer or affiliate admin pages.
Account Terms: Forces people to agree to terms before an account can be created.
Checkout setting in Opencart:
These are the setting for checkout in Opencart:
Invoice Prefix: Set the invoice prefix (e.g. INV-2011-00). Invoice IDs will start at 1 for each unique prefix.
Display Weight on Cart Page: Show the cart weight on the cart page.
Guest Checkout: Allow customers to checkout without creating an account. This will not be available when a downloadable product is in the shopping cart.
Checkout Terms: Forces people to agree to terms before a customer can checkout.
Order Status: Set the default order status when an order is processed.
Processing Order Status: Set the order status the customer’s order must reach before the order starts stock subtraction and coupon, voucher, and rewards redemption.
Complete Order Status: Set the order status the customer’s order must reach before they are allowed to access their downloadable products and gift vouchers.
Fraud Order Status: Set the order status when a customer is suspected of trying to alter the order payment details or use a coupon, gift voucher, or reward points that have already been used.
API User: Default API user the admin should use.
Stock settings in Opencart:
Display Stock: Display stock quantity on the product page.
Show Out Of Stock Warning: Display Out of stock message on the shopping cart page if a product is out of stock but stock checkout is yes. (Warning always shows if stock checkout is no)
Stock Checkout: If selected yes it allows customers to still check out if the products they are ordering are not in stock.
Affiliates settings in Opencart:
In Opencart 4 the affiliates are combined with customers. Here are details of affiliates in Opencart, these are the store-level setting of Affiliates in Opencart.
Affiliate Group: As customers and affiliates are managed by customers in the admin section, so the main customer groups that affiliate group is assigned if someone registered for the affiliates.
Affiliate Requires Approval: Automatically approve any new affiliates who sign up.
Automatic Commission: Automatically add commission when each order reaches the complete status.
Affiliate Commission (%): The default affiliate commission percentage.
Affiliate Terms: Forces people to agree to terms before an affiliate account can be created.
Returns settings in Opencart:
Customer can return the ordered products by filling the form athttps://YOURURL/index.php?route=account/return/add
The returns setting in Opencart are:
Return Terms: Forces people to agree to terms before a return can be created.
Return Status: Set the default return status when a return request is submitted.
In this way, you can set up the Options settings of Opencart, now let’s see the image settings.
Image setting tab in Opencart:
The image setting tab includes a store logo and a favicon icon to upload. In the older version, there used to be image sizes for products and categories but it is now moved to the theme settings section at Extensions >> Extensions >> Select theme >> Edit the theme and you will find all those images setting there.
Store logo: You can upload a store logo here which is shown in the header of the front store.
Icon: This is a favicon icon, you can upload your store favicon here. Mostly we use size of 32px * 32px.
FTP tab setting in the Old version
Go to the following post for the FTP settings where we show you multiple ways to connect FTP but mostly they are left blank.
In the mail tab settings of Opencart, all email settings are done here, mostly we use the mail engine as Mail and enter the Mail Parameters as our email, and works properly. But if you want to set up SMTP then you need to choose the Mail Engine as SMTP and enter hostname, username, password, port, and timeout settings as per your SMTP provider.
Mail Engine: Only choose ‘Mail’ unless your host has disabled the PHP mail function.
Mail Parameters: When using ‘Mail’, additional mail parameters can be added here (e.g. -f email@storeaddress.com)
SMTP Hostname: Enter your SMTP hostname here. Add ‘tls://’ or ‘ssl://’ prefix if security connection is required. (e.g. tls://smtp.gmail.com, ssl://smtp.gmail.com).
SMTP Username: Enter the SMTP username provided by your email server.
SMTP Password: Enter the SMTP password provided by your email server. For Gmail, you might need to set up an application-specific password here: https://security.google.com/settings/security/apppasswords.
SMTP Port: Enter the SMTP port provided by your email server.
SMTP Timeout: Enter the SMTP timeout here.
Mail Alerts settings in Opencart:
You can get an email alert when someone registered an account or apply for affiliates or order some products or someone gives reviews.
Alert Mail: Select which features you would like to receive an alert email on when a customer uses them.
Additional Alert Mail: Any additional emails you want to receive the alert email, in addition to the main store email. (comma separated).
Server settings tab in Opencart:
Most of the server settings are done here:
General
Maintenance Mode: Prevents customers from browsing your store. They will instead see a maintenance message. If logged in as admin, you will see the store as normal.
Robots: A list of web crawler user agents that shared sessions will not be used. Use separate lines for each user agent.
Output Compression Level: GZIP for more efficient transfer to requesting clients. The compression level must be between 0 – 9. Keep on trying between 0-9 until you get the desired output as it differs as per server. For ours, we are using 5.
Use SSL: To use SSL check with your host if an SSL certificate is installed and add the SSL URL to the catalog and admin config files.
Allow Forgotten Password: Allow forgotten passwords to be used for the admin. This will be disabled automatically if the system detects a hack attempt.
Use Shared Sessions: Try to share the session cookie between stores so the cart can be passed between different domains.
Encryption Key: Please provide a secret key that will be used to encrypt private information when processing orders.
Uploads
Max File Size: The maximum image file size you can upload in Image Manager. Enter as a byte.
Allowed File Extensions: Add which file extensions are allowed to be uploaded. Use a new line for each value.
Allowed File Mime Types: Add which file mime types are allowed to be uploaded. Use a new line for each value.
Error Handling
Display Errors: We suggest keeping it No for the live environment. For testing and development purposes keep it Yes so that you can see the PHP errors, warnings, and notices shown by the store.
Log Errors: We suggest keeping it Yes so that you can see if something is not working or producing errors.
Error Log Filename: This is the file where errors are logged. Better to name it error.log.
Enter all of the settings and finally click Save.
We hope this helps someone to go through the settings of Opencart. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our Twitter account @rupaknpl and subscribe to our YouTube channel for opencart video tutorials and go to the Opencart user manual.
Setting up an Opencart 4 ecommerce store involves several steps, including configuring your server, setting up FTP access, configuring email, and connecting your database. Here’s a detailed guide to help you through each step using cPanel.
Server Setup
Choosing a Hosting Provider:
Select a hosting provider that offers cPanel, cloud that meets Opencart’s system requirements.
Example: Providers like AWS, Google cloud, A2hosting, Bluehost, SiteGround, and InMotion Hosting are popular choices.
Now your server is ready now need to do some setting change in the admin dashboard.
By following these steps, you can effectively set up a server, configure FTP access, set up email accounts, and establish a database connection for your Opencart 4 store using cPanel. This comprehensive setup ensures that your ecommerce platform runs smoothly and efficiently, providing a robust foundation for your online business. Hope you liked this opencart user manual, please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook.
Choosing the right domain name and registering it is a crucial step in establishing your ecommerce website. Here’s a comprehensive guide to help you through the process.
Choosing a Domain Name
Relevance: Ensure the domain name reflects your brand and the products or services you offer.
Example: If your store sells handmade jewelry, consider a domain name like “HandmadeJewels.com.”
Simplicity: The domain name should be easy to spell, pronounce, and remember.
Example: Avoid complex words or lengthy phrases. “EasyGifts.com” is preferable to “BestGiftsForEveryOccasion.com.”
Keywords: Incorporate relevant keywords if possible, as this can help with search engine optimization (SEO).
Example: For an online book store, “BestBooksOnline.com” is a good choice.
Uniqueness: Ensure the name is unique and not easily confused with existing brands or websites.
Example: “ShopBrite.com” should not be too similar to “ShopBright.com” to avoid confusion.
Extensions: Choose an appropriate domain extension. While “.com” is the most popular and widely recognized, other extensions like “.store,” “.shop,” or country-specific extensions (e.g., “.co.uk”) might also be suitable.
Checking Domain Availability
Domain Registrars: Use domain registrars like GoDaddy, Namecheap, or Google Domains to check if your desired domain name is available.
Example: Enter your preferred domain name in the search bar of the registrar’s website to see if it’s available.
Alternative Options: If your first choice is taken, consider variations or alternative extensions.
Example: If “BestBooksOnline.com” is taken, you might try “BestBooksOnline.net” or “BestBooksStore.com.”
Registering the Domain
Choosing a Registrar: Select a reputable domain registrar. Popular options include GoDaddy, Namecheap, Google Domains, and Bluehost.
Example: Research user reviews and compare prices and features before making a decision.
Registration Period: Decide how long you want to register the domain. Options typically range from one to ten years.
Example: Registering for a longer period can often save money and prevent the domain from expiring unexpectedly.
Privacy Protection: Consider purchasing domain privacy protection to keep your personal information hidden from the public WHOIS database.
Example: This service prevents spammers and potential attackers from accessing your contact details.
Completing the Registration: Fill out the required information, including your name, address, and payment details, to complete the registration process.
Example: Follow the registrar’s prompts to enter your details and finalize the purchase.
Managing Your Domain
DNS Settings: Configure your DNS settings to point your domain to your web hosting provider.
Example: Access the DNS management panel of your registrar and update the nameservers to those provided by your hosting provider.
Renewal: Set reminders to renew your domain before it expires. Many registrars offer automatic renewal options.
Example: Enable auto-renewal to ensure your domain registration remains active without interruption.
Transfers: If needed, you can transfer your domain to another registrar. Ensure you understand the transfer policies and any potential fees.
Example: If you find a better deal or need additional services, you might consider transferring your domain to another provider.
Additional Tips
Trademark Considerations: Check for potential trademark issues to avoid legal complications.
Example: Ensure your domain name doesn’t infringe on existing trademarks to prevent disputes.
Social Media Handles: Secure matching social media handles to maintain consistent branding across all platforms.
Example: Check if the corresponding usernames are available on platforms like Twitter, Facebook, and Instagram.
SEO Impact: Choose a domain name that is favorable for SEO, keeping it relevant to your niche and including keywords if possible.
Example: A domain name that aligns with common search terms can improve your site’s visibility in search engines.
By carefully selecting and registering your domain, you lay a strong foundation for your ecommerce website’s online presence. Ensure that your domain name aligns with your brand, is easy to remember, and is legally sound. This will help attract customers and establish a reputable online store.
Opencart is a powerful, user-friendly open-source e-commerce framework that allows businesses to create and manage their online stores with ease. It provides a comprehensive suite of features designed to streamline the process of selling products and services online. OpenCart’s flexibility, coupled with its robust set of tools, makes it an excellent choice for small and large businesses. OpenCart 4 introduces several enhancements and new features to improve usability, performance, and security. The OpenCart ecosystem includes a vibrant community of developers, designers, and store owners contributing to the platform’s continuous improvement. Additionally, the OpenCart marketplace provides a plethora of themes, extensions, and modules to enhance your online store’s functionality and aesthetics.
Unlock the Potential of OpenCart 4: Domain registration, installation, servers setup, emails, administration, promotion, tracking, APIs, SEO, security, cloudflare, OCMOD, events, and many more
Who can use OpenCart?
OpenCart is suitable for many users, including:
Small to Medium-Sized Businesses: Ideal for businesses looking for a cost-effective yet powerful e-commerce solution.
Developers and Designers: Offers a flexible platform that can be extensively customized to meet client needs.
E-Commerce Entrepreneurs: Perfect for individuals launching a new online store due to its user-friendly setup and management.
From the user’s perspective
Creating eCommerce websites
Launch store simply and faster
Save investment cost
Opencart is lightweight
Handle easier: ideal for end-users to control their Opencart stores
Catch up with eCommerce trends.
Creating Advanced eCommerce websites
Easy learning curve, Large Community, and Support
Customize the presentation layer or front end
Flexibility, Customization, and Extend the functionality
Open Source, Cost-Effective, and many more.
Key Features of OpenCart
Overview
Founded in 2008 by Daniel Kerr
Written in PHP, uses MySQL for database management
Free to download and use under the GNU General Public License
Key Features
Multi-Store Capability: Manage multiple stores from a single admin interface.
Extensive Extensions Library: Enhance your store’s functionality with thousands of available extensions.
SEO-Friendly: Optimize your store for search engines with built-in SEO tools.
User Management: Control access to various store parts with user permissions.
Customizable Themes: Personalize your store’s appearance with customizable themes.
Multi-Language and Multi-Currency Support: Cater to a global audience by offering multiple languages and currencies.
Comprehensive Reporting: Gain insights into your store’s performance with detailed reports and analytics.
Besides basic features, multi-language, multi-store, multi-layout, fully customizable, and many more with OCMOD or VqMod virtual file modification with XML and also includes an unlimited module instance system and uses popular foundations like bootstrap, font awesome, and flex slider for rapid development.
User-friendly admin panel
Multi-store functionality
Wide range of payment gateways
Shipping method integrations
Product reviews and ratings
SEO-friendly URLs
Multi-currency support
Multi-language support
Customizable themes
Extensive reporting tools
Extension Marketplace
Thousands of extensions available
Both free and paid options
Extends functionality for marketing, shipping, payment, reporting, etc.
Themes
Customizable responsive themes
Both free and premium options available
Easy to modify using the built-in theme editor
Security
Regular security updates
Built-in security features like SSL support
Password encryption
Community and Support
Active community forum
Extensive documentation
Professional support options available
Installation and Setup
Relatively easy installation process
Many web hosts offer one-click OpenCart installation
Scalability
Suitable for small to medium-sized businesses
Can handle larger catalogs with proper optimization
Performance
Generally good performance out of the box
Can be further optimized with caching extensions and server tweaks
Customization
Highly customizable through extensions and theme modifications
Developers can create custom modules and integrations
Pros
Free and open-source
Easy to use for beginners
Extensive features out of the box
Large community and marketplace
Cons
May require technical knowledge for advanced customizations
Some essential features might require paid extensions
Performance can degrade with many extensions installed
Comparison to other platforms
Generally easier to use than Magento
More flexible than hosted solutions like Shopify
May require more technical knowledge than WooCommerce
OpenCart is an excellent choice for small to medium-sized businesses looking for a flexible, feature-rich e-commerce solution. Its open-source nature and extensive marketplace make it a versatile platform capable of handling a wide range of e-commerce needs.
For the User Manual, we are covering the following topics which are listed below, we will add the links as we completed the documentation of Opencart 4:
Stock Statuses management and product availability in Opencart
Order Statuses management in Opencart
Countries and Zones States Regions management
Zones or Regions or States management in Opencart
‘Zone Shipping’ and how do we set it up
Opencart set up taxes with geocodes US tax for California residents 8.75%
Need to set up US Taxes for California residents where CA Tax is 8.75%.
Length Classes and Weight Classes management
Weight classes management in Opencart
Add length and weight for Product
Maintenance
Maintenance Mode in Opencart
Backup/Restore in Opencart
Uploads in Opencart maintenance section
Error Logs in Opencart
Upgrade
Maintenance Mode in Opencart
Backup/Restore in Opencart
Uploads in Opencart maintenance section
Error Logs in Opencart
USER MANAGEMENT
Users
OPENCART CATALOG MANAGEMENT
Categories management
Accessing the Admin Panel
Navigating to Categories Management
Creating a New Category
Editing an Existing Category
Deleting a Category
Managing Subcategories
Bulk Actions
SEO and Best Practices
Products management
Pricing psychological tactic for eCommerce website
Master Product and Variant Product in Opencart
How to add the product variant in Opencart?
How to override the variant product data?
Filters management
Navigating to Filters Management
Creating a New Filter
Editing an Existing Filter Group
Deleting a Filter Group
Assigning Filters to Products
Assigning Filters to Categories
SEO and User Experience Considerations
Attributes management
Navigating to Attributes Management
Creating a New Attribute
Creating and Managing Attribute Groups
Editing an Existing Attribute
Deleting an Attribute
Assigning Attributes to Products
Using Attributes for Filters
Best Practices for Attributes Management
Options management
Navigating to Options Management
Creating a New Option
Editing an Existing Option
Deleting an Option
Assigning Options to Products
Managing Option Types
Best Practices for Options Management
Manufacturers management
Navigating to Manufacturers Management
Creating a New Manufacturer
Editing an Existing Manufacturer
Deleting a Manufacturer
Assigning Manufacturers to Products
Manufacturer Page and SEO Considerations
Customer Navigation and User Experience
Reviews management
Navigating to Reviews Management
Viewing and Moderating Reviews
Editing a Review
Adding a New Review
Deleting a Review
Best Practices for Reviews Management
SEO and User Experience Considerations
Information pages management
Navigating to Information Pages Management
Creating a New Information Page
Editing an Existing Information Page
Deleting an Information Page
Best Practices for Information Pages
OPENCART DESIGN
Themes
Customization Options
Layouts and Modules
Visual Elements
User Experience (UX) Design
SEO and Performance
Custom Design and Development
Layouts management
Customize layouts and positions to show different modules in Opencart
How to customize the Opencart homepage?
Where can you find modules in Opencart 3?
Theme Editor
Steps to make the theme editor
Banners management
Navigating to Banner Management
Creating a New Banner
Editing an Existing Banner
Deleting a Banner
Assigning Banners to Layouts
Best Practices for Banner Management
Advanced Banner Features
Language Editor
Zipping and naming language extension
Upload a new language pack in Opencart 4
Test Your Custom Language
Change the default language of Opencart 4
Override the language texts from Admin Interface
SEO URLs management
Understanding SEO URLs
Enabling SEO URLs
Creating SEO URLs for Products, Categories, and Other Pages
Managing and Editing SEO URLs
Best Practices for SEO URLs
SEO URL for Multilingual Stores
Checking and Testing SEO URLs
Advanced SEO URL Features
SALES MANAGEMENT
Orders
Order status global setting
Order statuses at Payment gateways
Customer Order status in Order History
How do reward points work in Opencart?
Subscriptions
Setting Up Subscriptions
Creating Subscription Products
Managing Recurring Profiles
Customer Management
Payment and Billing
Reporting and Analytics
Marketing and Promotions
Legal and Compliance Considerations
Returns
Product Returns settings management:
Return Statuses:
Return Actions
Return Reasons
How does a customer submit product returns in Opencart 4?
Store administrator management of product returns
Gift Vouchers
Create or design the voucher themes
Purchase a Gift Certificate and send to someone in Opencart
How recipients redeem the gift certificate?
Management of Gift Vouchers by admin
How to set a minimum and maximum amount a customer can purchase a voucher for?
OPENCART CUSTOMER MANAGEMENT
Customer Account Management
Customers
Customers Groups
Understanding Customer Groups
Creating Customer Groups
Assigning Customers to Groups
Utilizing Customer Groups
Managing Customer Group Permissions
Customer Group Reporting and Analysis
Best Practices for Using Customer Groups
Customer Approvals
Enabling Customer Approval
Managing Pending Customer Approvals
Customization of Approval Process
Managing Approved Customers
Best Practices for Customer Approvals
Advantages of Customer Approvals
GDPR
Key GDPR Requirements
GDPR Features in Opencart 4
GDPR Compliance Extensions
Best Practices for GDPR Compliance
Custom Fields
Example of the custom field in the registration form
How do you add the custom fields in Opencart?
OPENCART MARKETING MANAGEMENT
Affiliate
How does the affiliate is registered in Opencart 3?
How do you activate the affiliate for the already registered customers?
How does the affiliate use the URL on their websites blogs or forums?
How the commission is added to the affiliate?
Marketing
Key Features for Marketing Tracking in Opencart 4
Best Practices for Marketing Tracking
Coupons
Key Features of Coupons in Opencart 4
Mail
Key Features of Mail Marketing in Opencart 4
Best Practices for Mail Marketing in Opencart 4
Automatically post new Opencart products on social media like Facebook for free
Some other Automation Tools
Benefits of Auto-Publishing via RSS
Add an Analytics extension in Opencart 4? Third-party JS free Opencart extension
Install the Opencart 4 Analytics extension
OPENCART REPORTS MANAGEMENT
Popular Reports lists
Reports
Customer Transaction Report
Customer Activity Report
Customer Orders Report
Customer Reward Points Report
Customer Searches Report
Tax Report
Shipping Report
Returns Report
Sales Report
Coupon Report
Products Viewed Report
Products Purchased Report
Who’s Online
Statistics
How to add reports in the admin dashboard of Opencart 4?
OPENCART 4 EXTENSION MANAGEMENT
Marketplace
Benefits of Using the OpenCart Marketplace
Installer
Accessing the Installer
Using the Installer
Extensions
Uploading an extension in OpenCart
FTP needs to be enabled in the settings:
Invalid file type!
Could not connect as yoursitename.com:21
The modification requires a unique ID code!
Installing a module
Uninstalling a module
Remove a module
Types of Opencart Extensions
Order total modules
Captchas
Module
Theme
Analytics:
Difference between Single Instance module and Multi-instance module
Startup
Events
Cron Jobs
OPENCART 4 THEME
Install the Opencart 4 theme
Activate Opencart 4 theme
Uninstall the Opencart 4 theme
Files and folders structure of the Opencart 4 theme
OPENCART 4 LANGUAGE MANAGEMENT
File and folder structure of custom language for Opencart 4
Prepare the Language Pack
Upload a new language pack in Opencart 4
Test Your Custom Language
Change the default language of Opencart 4
Override the language texts from Admin Interface
OPENCART 4 EVENT SYSTEM
Event Types
Using Opencart Events
Registering Events
Using Events for Customization
List of Events
Language events
Activity events
Statistics events
Theme event
Admin Currency Events
Admin Statistics Events
Translation Event
Admin Language Events
Testing Opencart Events
Challenges
Best Practices while using Opencart Events
OPENCART 4 OCMOD
Files and folder structure OCMOD extension
The Flow of OCMOD
Upload of extension with OCMOD
Installation of OCMOD extension
OCMOD developer tips
Example OCMOD code
Admin Module menu addition with OCMOD extension
Folder creation of OCMOD extension
Code of install.json file
Code of webocreation_admin_menu.ocmod.xml
OCMOD error log
Read more about OCMOD
OPENCART API DOCUMENTATION
Create API username and key
Opencart user, permissions, user group management, and API users
Authentication and Request Format of Opencart API:
Request
Request Parameters
CURL login example:
Opencart 4 API Endpoints
Postman testing of Opencart 4 endpoints
Create custom API endpoints in Opencart 4
The responding server
Error Handling
OPENCART MULTI WEBSITES OR STORE SETUP
Benefits of a Multisite Setup
Prerequisites
Example stores
Step-by-Step Guide to Setting Up Multisite in OpenCart 4
Step 1: Configure Your Domain/Subdomain
Step 2: Add New Stores in OpenCart Admin
Step 3: Configure Store Settings
Step 4: Customize Your Store
Step 5: Assign Products and Categories
Step 6: Test Your Store
OPENCART SEO BEST PRACTICES
Admin Setting section changes for the SEO
SEO-Friendly URLs
Optimize Product and Category Pages
Image Optimization
Internal Linking
Mobile Optimization
Enable the sitemap extension
Add robots.txt
Canonical URL
Social proof
Schema Markup
Site Speed and Performance
GZIP Compression
Webfont loading
Fix broken links
Add your Business to Google
301 Redirects
SSL certificates
Mobile-first approach
Regular Monitoring and Analysis
OPENCART SPEED OPTIMIZATION
Choose a better hosting provider and better cache module
Use the image sizes properly
Use the proper extension for the image:
Optimize the image properly
GZIP compression level
Speed up the repeat visit by serving static assets with an efficient cache policy
Index the database table
OPENCART SECURITY MEASURES
Use good and secure hosting
Check if the install/ folder is still there
Proper Security settings in the admin
Use HTTPS/SSL Certificate
Use the latest PHP version
Use Anti-fraud extension
Error handling setting
Monitor your admin error logs
Block bad bots
Allowed File extensions and allowed file mime type permissions
Review All Users, User Groups, and Grant the Minimum Permissions Necessary
Use a strong username and password
API security in Opencart
Always use the latest Opencart version, theme, modules, and extensions
Remove unused modules or extensions
Monitor your server logs
Use HTTP security headers
Cross-Site Scripting (XSS)
Database Security and SQL Injections
Denial of Service
Backup
Use Google Captcha or Basic Captcha
OPENCART CDN CLOUDFLARE SETUP
Create a Cloudflare account
Solve the SSL issue of Cloudflare
Cloudflare FTP issues fix
PRO TIPS AND TRICKS
How to install the Opencart 4 extension?
Files and folder structure of the Opencart 4 extension
Naming tips for custom Opencart 4 extensions
Add conversion code on the success page of Opencart
How to customize the Opencart homepage?
What is the Order total in Opencart 4? How to apply and create them?
How to set free shipping, flat rate shipping, shipping as per item, or pick from a store in Opencart?
How to set up free shipping in the Opencart store?
How to set up a flat shipping rate in the Opencart store?
How to set up free shipping for over $100 and for below it will be $5 flat-rate shipping?
How to set the shipping rate per item?
How do you can set up pick up from the store shipping in the Opencart store?
How to set up a weight-based shipping rate?
What is ‘Zone Shipping’ and how do we set it up?
COMMON ERRORS AND THEIR SOLUTIONS
Blank white pages or 500 internal server error
Headers already sent
Allowed Memory Size Exhausted
OpenCart Site Launch Checklist
What to look for OpenCart Developer for your customization and how to validate the works?
Please bear with us, we try to publish one post a day that are related to above listed topics and improved as per Opencart 4. Please let us know if you have any questions or suggestions, have a look at Opencart tutorials for developers as well. You can also find us on Twitter and Facebook.