Latest Articles
So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some .. Read More
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod .. Read More
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize.. Read More
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far e.. Read More
All Articles

Flo

So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some automated cpanel installers instead of solving the previous issues they created on opencart installations, now they add even more. If you are trying to upload .ocmod.xml files via the extension installer and you get an error like this one: SyntaxError: Unexpected token < in JSON at position 0 Warning: mkdir(): No such file or directory in ../admin/controller/extension/installer.php..
5 comments on this article - view comments
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod version installed which doesnt support ocmod 2. Ocmod cache could not be written due to insufficient folder permission 3. The ocmod cache doesnt get loaded in frontend (ocmod works in admin but not in frontend) The most common I encountered is number 3 because it has to do with the opecart installation method. Some control panel software installers do not properly configure the ope..
0 comments on this article - view comments
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize your top menu have a look at my Supermenu module. To add a link to the default top category menu in opencart you will have to edit the file catalog/view/theme/yourtheme/template/common/header.tpl and if you have the default theme or some theme that didnt modify the top menu structure, in header.tpl the code of the top menu will look something like this: <?php if ($categories) ..
5 comments on this article - view comments
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far every user knows to do this, but what most often forget is to activate the htaccess file. To activate the htaccess file, connect to your store via a ftp client. In the root of your opencart store you will find a file called .htaccess.txt. To activate it, you must rename it to .htaccess (exactly like that without another dot at the end). After this, your seo urls will work or you could get an in..
1 comments on this article - view comments
Unlike opencart 1.5.x, the 2.x version comes with its own extension installer accessible in admin at extension > Extension Installer. But in order to install modules directly from the opencart admin you must have ftp enabled in your admin settings and the right ftp credentials added at the ftp settings in admin > system > settings on the ftp tab. If you have the ftp set up in opencart then installing modules is very easy. You must simply upload the module archive through the admin extension installer page.The archive you are uploading must have its name ending in .ocmod.zip. If..
1 comments on this article - view comments
Since opencart 2.0.1 each time you create a module instance fom the main module , this gets added to the modules list. If you create a lot of modules you will have a very long modules list and will be pretty difficult to find a module in the big list. I made a small ocmod that will group created modules with the main module in the list and you will have a +/- button to expand or hide those modules. If you like this ideea you can go ahead and download the ocmod for free here: http://www.opencart.com/index.php?route=extension/extension/info&extension_id=20053 ..
0 comments on this article - view comments
In opencart 2.x by default you have the option to add new fields in the customer registration form that will display in the account  registration page and on the checkout registration page (even at guest checkout). To insert a new customer custom field in admin navigate to Sale > Customers > Custom Fields. Click on the add new button and a form like the one bellow will appear: The first entry is the name of the field as it will appear on the registration form. Next is location , if you select "account" the field will display in the account section (..
4 comments on this article - view comments
In this article I am reffering to the module system present in opencart 2.0.1.0 and up. Initially opencart 2.0 came with a changed module system, where you added module instances on the module page but to assign the modules to layouts you had to go on the layouts page , edit a layout and add modules to it (unlike opencart 1.5.x where you also selected the layout and position on the module page). While I like this ideea, on the layouts page it was kind of difficult to identify and remember the module instances you created. Fortunately the new opencart 2.0.1.x came with a new mod..
0 comments on this article - view comments
There are lots of extensions on the opencart extension directory to bulk modify product prices. However if you only have to do this once in a while or you are looking for a quick free way to do this, you could do it by running a sql query directly in your database in phpmyadmin. So first youll have to log into your cpanel and access phpmyadmin and in phpmyamin access the database your store uses(the databases are listed in the left column). Now that you are in your store's database select the sql tab and there you will run the code below (after you apply it your modifications). ..
1 comments on this article - view comments
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize your top menu have a look at my Supermenu module. To add a link to the default top category menu in opencart you will have to edit the file catalog/view/theme/yourtheme/template/common/header.tpl and if you have the default theme or some theme that didnt modify the top menu structure, in header.tpl the code of the top menu will look something like this: <?php if ($categories) { ?&g..
1 comments on this article - view comments
Having affiliates is a great way to boost your sales, so this article will help you atract more affiliates to your website by displaying somewhere on the product page how much an affiliate wil make by making a sale of that viewed product. For that you would have to modify 2 files catalog/controller/product/product.php and catalog/view/theme/yourtheme/template/product/product.tpl. First on the product.php file find the line: if (($this->config->get('config_customer_price') && $this->customer->isLogged()) || !$this->config->get('config_custome..
0 comments on this article - view comments
Many people ask about the setting on how many products are beeing displayed per row in opencart modules or category listings. Well there is no such setting, I mean there might be in some custom themes but now Im reffering strictly to the opencart default theme. The number of products displayed per row is influenced by the width of the individual product box which is set in the stylesheet.css of the default theme (catalog/view/theme/default/stylesheet/stylesheet.css). Change the number of products per row for modules display (Like latest, Featured, Bestsellers):  In stylesheet.c..
6 comments on this article - view comments
Even if this issue has been fixed for a while in opencart, some people stil seem to have problems with disabling the product count next to the category name in the opencart left category menu, on the top menu's dropdown and on the subcategories from within a category's page. In the most recent versions of opencart there is one simple setting to disable the product count in all those instaces, the setting can be found in admin > system > settings. Edit the main store, go to the option tab and the first setting below the products heading is category product count, set it to ..
2 comments on this article - view comments
For out of stock products you can use stock statuses to inform customer that you had that product in stock but you dont anymore, however some merchants would preffer to not display at all the products they dont have in stock, if you wish to do that, here is a simple modification you can do to obtain it. Edit the file catalog/model/catalog/product.php and inside it seach for the code: pd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND p.status = '1' You will find it 3 times, and each time replace it with the code: ..
14 comments on this article - view comments
I have noticed a lot of people enquiring about this so Ill post  an easy and short solution to it. Just for clarification I am reffering to the short description each product has when you view it in a category page or search page in list mode. Another thing you should know is that the short description is a text excerpt limited by default to 100 characters from the beggining of a product's main description. It is only text, and the reason for which the html tags are subtracted is because if they werent, they could mess up the page layout (the main description is html code and i..
9 comments on this article - view comments
If you updated your opencart store to latest version 1.5.5 or 1.5.5.1 you might have noticed that in the admin Html Editor (for product description, category description, information pages content and so on) the Font size selector and the color selector are missing. Its because in version 1.5.5 opencart has updated the html editor it uses (ckeditor) to it's latest major version. And in the latest version , things are a bit different (certainly looks better) and has more functions but they are not inlcuded in the standard built used by opencart. You could go to the ckeditor site and ..
0 comments on this article - view comments
There is a template design competition going on in the opencart forum. I also created a theme for this competition and submited. You can download it from opencart.com for free: http://www.opencart.com/index.php?route=extension/extension/info&extension_id=10306 You can also see a demo here: http://buyflo.net/adefault2/ The ideea was to create a simple free alternative to the opencart beginers. I hope you'll enjoy it and I will let you know if it does well in the competition. Meanwhile some screenshots: ..
1 comments on this article - view comments
As you can all see , in the new opencart 1.5.5 a new module was added called 'Filter' and can be seen in admin by navigating to extension > modules. I saw in the development discussion that a filter module will be added in this new version but I did not look into it so I was assuming it will be filtering the products by attributes. Well I was wrong, because the new filter module came with a brand new filters system. The new filters system even if it implies a little more work I think is a great ideea and will give customers better accuracy in their search. Inserting Filters ..
13 comments on this article - view comments
Set up Layouts on Multi-Store - for opencart 1.5.x Many people are confused about layouts and specially how to set them up when they are using multi-store. A layout reffers to a page or a group of pages in your opencart store, for which you can controll the display of your opencart modules. Layouts can be added and edited in your opencart admin by navigating to system > design > layouts. The pages that belong to a layout are controlled by routes per store. Example: The 'Home' layout has the route 'common/home' added for the default store.(this home layo..
11 comments on this article - view comments
If you want to redirect your customer to cart page or checkout page after he added a product to cart, here is how you do it. (This applies to opencart 1.5.2.x and 1.5.3.x) Edit the files: catalog/view/javascript/common.js and catalog/view/theme/yourtheme/template/product/product.tpl and in each file, make the following modification: Find the code: if (json['success']) { $('#notification').html('<div class="success" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/c..
26 comments on this article - view comments
If you chose to only display your prices on store , only if the customer is logged in, then you might also want to hide the add to cart button, because even if the prices are not beeing displayed in the opencart product modules and in the opencart product listings, if a visitor adds a product to cart, he will be able to see the price on the shopping cart page. So , to solve that, you just don't allow the visitor to add a product to cart unless he is logged in, and to do that, you hide the add to cart button like it follows: 1.Edit the files: featured.tpl, latest.tpl, special.tpl..
4 comments on this article - view comments
A very common problem that many users encounter is the Add to Cart sometimes not working on their site homepage. The problem is related to the url of the store. A website can be accessed trough adress like: example.com as well as www.example.com When you first install opencart, the base of the website is going to be written in config.php, but it can only be one: either example.com or www.example.com (depends on the adress you accessed the installation in the first place). So if you install your store by going to example.com, then the base of your website in config.php will be exampl..
30 comments on this article - view comments
By default the opencart search only works for product name and if selected, it also searches in the product description. If you want the search to also work for the product code (model), here are the modifications you need to make in order for it to work. Edit the file catalog/model/catalog/product.php and 2 times you will find this code: foreach ($words as $word) { if (!empty($data['filter_description'])) { $implode[] = "LCASE(pd.name) LIKE '%" . $this->db->escape(utf8_strtolower($word)) . "%' OR LCASE(pd.description) LIKE '%"..
15 comments on this article - view comments
If you need to chnage all the product prices by a percentage at once, here is an easy way to do that. From your control panel, lauch phpmyadmin and select the database that your store currently uses. Go to the sql tab and run the query that applies to you. If you want to raise all your prices by a percentage (Example: 22.5%), run the query: update product set price = round(price*1.225,2) If you want to drop all your prices by a percentage (Example: 15%), run the query: update product set price = round(price/1.15,2) If the tables of you opencart database use a pre..
5 comments on this article - view comments
In case you only display prices only if the customer is logged in , this modification is a must. By default, even if the prices arent displayed for the unlogged customers, they become visible if the visitor adds them to cart. Make this modification only if the above case applies to you, and the header cart will be hidden until the customer logs in. Edit the file catalog/view/theme/yourtheme/template/common/header.tpl and find the line: <?php echo $cart; ?> and replace it with: <?php if ($logged) { ?> <?php echo $cart; ?> <?php } ?> ..
5 comments on this article - view comments
Free opencart 1.5.2.x template If you want to style your store a little bit to separate id from the default stock, this is exactly what you need. A very nice alternative to the opencart default template. If you are looking for something more, please look trough our comercial items. You have the installation instruction included in the downloaded archive. ..
11 comments on this article - view comments
What will this module allow you to do? You will be able to set from your opencart admin > system > settings >on the options tab: If you want to display on product listing (category page, search, featured, latest modules) and/or on product page the product code; If you want to display on the product listing and/or on the product page, the product location If you want to display on the product listing and/or on the product page the product upc(universal product code); If you want to display on product listing the product manufacturer If you want to display on ..
4 comments on this article - view comments
Sometimes after you insert or edit a product in opencart admin you would like to see the result in frontend. Currently to do that you would have to go to the opencart frontend and then navigate trough the path to that product. The below trick will show you how to add a view product in store frontend  link in the opencart admin product listing. And in the case you use multistore , this will ad a view link for each store the product belongs to. First edit the file admin/controller/catalog/product.php and find the line: $this->data['delete'] = $this->url->link..
7 comments on this article - view comments
If you want to display the stock or stock status(like on product page) on the product linsting (category, search) here is how you do it. Edit the file catalog/controller/product/category.php Find the code: if ($this->config->get('config_review_status')) { $rating = (int)$result['rating']; } else { $rating = false; } below it add: if ($result['quantity'] <= 0) { $rstock = $result['stock_status']; } elseif ($this->config->get('config_stock_display')) { $rstock = "Stoc..
22 comments on this article - view comments
If you want to display the categories a product belongs to on the product page (like the manufacturer is now), here is how you proceed: In catalog/controller/product/product.php look for the line: $this->load->model('catalog/product'); below it add: //product category $this->load->model('catalog/category'); $this->data['catprod'] = array(); $product_category = $this->model_catalog_product->getCategories($product_id); foreach ($product_category as $prodcat) { $category_info = $this->model_catalog_c..
18 comments on this article - view comments
Currently the opencart header cart content displays when you click on items. If you want it to display when you move your mouse over it here is how do it: Edit the file catalog/view/javascript/common.js and find the line: $('#cart > .heading a').bind('click', function() { and you replace it with: $('#cart > .heading').bind('mouseover', function() { That is all. ..
4 comments on this article - view comments
As me, probably you can get bored with the new features that OpenCart 1.5 has brought on this free open source ecommerce system. There are so many and so interesting that from time to time it can get overwhelming. However, if you take them on at a time you will not have any kind of problem. Now I want to discuss about The Reward Point System. This is a cool new feature, which can help you to gain more sales and to attract more clients. With it, you offer the possibility to your customers to gain reward points when they buy products but in the same time to use these points to pay less n..
4 comments on this article - view comments
Learning OpenCart is not hard. However, first time when we enter in the program we may look scared because we do not understand everything. As soon as you login, wait for a moment before starting to ask for help. Is not as hard as it looks and creating your own store, it can be quite rewarding. If you are not very good with computers, you have to take everything in baby steps, one at a time. So, let us start helping you with your next profitable store. Therefore, you have bought a new domain, you have installed OpenCart and you have bought a brand new theme, which makes it looks great...
0 comments on this article - view comments
Once with the complete change of OpenCart, with this new version, many people did not new how to handle these new features. As every new thing in life, you need time to accommodate with it. Let us take Modules, for example. These are the boxes from every page. You probably have seen things like ‘Recommended Products’, or ‘Bestsellers’ on different shopping sites. Well, those things are made with the help of modules. They can be placed in different parts of the page, such as left/right/or based on the content that is already on the page, content-top or content-bott..
0 comments on this article - view comments
One of the main features of the new OpenCart 1.5x is that it offers Multiple Layout System. This means that you can assign a different layout for every page if you want too. These layouts are fully customizable or if you want, too you can create your own layouts. Due to these things, you can be truly creative and you can create complex online stores. Some are saying that OpenCart is the best open source system for ecommerce and they are probably right, especially now with the latest add-ons. However, if for the more experimented users this is a truly interesting idea, for the rest, those..
2 comments on this article - view comments
It is true that OpenCart is a great system, but what is makes it truly great are the extensions. With them, you can change almost everything and you can add some cool and useful features. You can connect the store with other types of sites based on different platforms, such as Wordpress or Jomola, you can add new languages to your store, and you can make it one of a kind. Some of the extensions are free and for some of them you have to pay. Depending on the developer and the features, which are involved. You can even pay someone to create an extension especially for your needs if you w..
1 comments on this article - view comments
We are living some days when Internet has become something as important as food or water. No one knows for sure if this is a good thing but this thing is real. That is why everybody is using it for finding information, buying things or to communicate with others. I have left the entertainment to the end because this may be the most important feature of the Internet. However, this article is about Open Cart online stores, and why they are one of the best things if you want to start your own business. One of the main advantages is that you can start with a relatively low investment. Just..
0 comments on this article - view comments
Having a good communication with your clients is essential for your business. If you know how to create the proper marketing strategies and if you know when to send promotions, you will boost your sales in no time. Even though in OpenCart 1.5x you have a special feature for sending e-mails many of us do not use it. This is one of the first mistakes that you can make as an online store manager. You can send notifications, promotions, contests and release of new products. In order to be able to send e-mails you have to log into your account. From the Administration Panel you click on Sal..
0 comments on this article - view comments
Product Categories, one of the first things that you have to solve in OpenCart Setting up an online store by yourself is not as hard as it looks if you follow the proper guidelines. If you do not want to search on the internet for tutorials, you can simply pay someone to make it for you. However, it is more rewarding and more affordable to make it on your own, especially if you have a low budget. Creating Categories for products is an essential step and is one of the first things that you have to do. This way your customers will find everything and they will gain a great user experience. ..
2 comments on this article - view comments
There are many feature that the new OpenCart 1.5x has. However, some of the most important ones are those who have remained from the previous versions. Attributes are one of the greatest things for e-commerce in general and especially for OpenCart. This way you can add features for the products you sell and in the same time, you can help your customers to compare products based on their feature. Even more, they will be able to search for the things that they want based on the features that they need for a certain product. This is a nice thing and your visitors will definitely love this poss..
5 comments on this article - view comments