Community Forums

[Tutorial] Getting Started with OpenCart v1.5.x

General support for technical problems with OpenCart v1.x

[Tutorial] Getting Started with OpenCart v1.5.x

Postby Qphoria » Wed Aug 10, 2011 4:04 pm

Welcome to OpenCart v1.5.x!

This guide is aimed at people who are both new to OpenCart and for those coming from OpenCart 1.4.x

What's Different?
OpenCart 1.5.x has changed from 1.4.x quite a bit.
- New default theme
- New Global product options design
- New url class
- New Module system
- Tedious changes to all the code which makes almost all 1.4.x mods and addons incompatible with 1.5.x

Change isn't normally a bad thing, as it means progress. Some good, some bad.. but progress

Fresh Install
Installing OpenCart isn't much different than installing any other web based script (blog, forum, cms, etc)
1. Download the latest version of OpenCart
2. Read the "install.txt" file for details on each step. Create the database, upload the files, run the install, etc
3. Once installed , click the catalog first to see what it looks like and verify no immediate issues.
4. Now log into your admin and verify that is working.

Where do I begin?!?
The first thing you will want to do is get familiar with the admin menus. The main menu headings give a rough estimate of what each section contains. Then try a simple test order on the front end. Get to know your cart.

Main System Settings
The system settings are the main control area for your store settings. Go through them carefully.
1. Goto the System->Settings area and carefully read through each option. If you don't understand an option, ask about it in the forum. Adjust your settings and save. Be sure you see the successfully saved message.

Design Layouts
A new feature in 1.5.x is the layout designer. This is a very powerful feature and can be very granulated so it can get confusing fast. It is beneficial to click edit on the default layouts that come with the new install so that you can better understand how they work. Layouts refer to how the modules are laid out on the page. More info on that in the module section.
1. Goto System->Design->Layouts and edit the "Account" layout.
2. Note that it shows the Store "default" which is used for multistore and the route is "account/"
This means that for any page that has the "index.php?route=account/xxx" it will use this layout for that.
You can add additional routes to this to use the same layout as well if you like
You could even use an empty route value to make ALL routes use this layout (as long as you don't have the route listed in another layout).
3. So you could either keep all these individual routes OR get rid of them and keep only a few like "Default", "Home", and "Checkout".

If you only keep those 3, it makes it act a bit more like 1.4.x until you get more used to the new system. This way, any page aside from home or checkout will use the default layout so you can simply set modules one time to show on all pages.

The pros and cons to the Design system are that the new module system correlates to the layouts. If you have 10 layouts and want to have the same module on 8 of the layouts.. you have to add the module 8 times, and set the different layout for each. Some improvements with the ability to multiselect multiple layouts to a single module are planned for the future.

Adding Modules
This is another new feature that is related to the layout system so I'll cover it next.
Modules are "sideboxes" or "blocks" on the pages. Anytime you see a box like "Latest" or "Bestsellers", that is a module. Modules can be placed left/right/content-top/content-bottom, with "content" referring to the current page's own content.
1. Goto Extensions->Modules and you see the core modules that come with opencart. Edit a few of them to see all the fields and understand how they are populated.
2. Modules can be similar in features or completely different.
Compare the "Latest" module to the "Special" module and they look the same as they use the same structured data for the input. Now edit the welcome module and see how different that is.
3. As stated in the Design paragraph, Each module has a layout selection. You can assign the same module a different position on each layout if you want. So "latest" could be on the left side on the home page and the right side on the account page, etc. Again, this is a very powerful yet tedious feature depending on your layout setup.

You can always start simple with just one layout and have all the same modules on every page. This is what OpenCart v1.4.x did and many people were happy with it. As you find yourself getting more creative, you can add additional layouts assigned to routes, and then add those. So don't get too overwhelmed by the large quantity of default layouts.. They are just for example use. Delete all but the default and keep it simple.

Adding Categories
Now it is time to start adding your categories for your store to separate your products. OpenCart's category system is more of a "labelling" design, rather than a "folder" design. This means instead of creating a folder and then creating a product inside the folder, you create them both separately, and "link" them together. Products can be linked multiple categories and a linked product will show when that category is clicked on the store.
1. Click on Catalog->Category and you may see the demo categories that come with the default install. Edit one of them to see all the fields and understand how they are populated.
2. Now go back and click "Insert" from the list. Create your own category
--- a. The first tab has the name, description, and meta data
--- b. The second tab controls all the parent categories, properties, etc
--- c. The third tab is the design layout tab so you can choose which layout this category has. Again, start simple for now and expand later

Adding Products
1. Click on Catalog->Product and you may see the demo products that come with the default install. Edit one of them to see all the fields and understand how they are populated.
2. Now go back and click "Insert" from the list. Create your own product
--- a. The first tab has the name, description, and meta data
--- b. The second tab controls all the pricing, properties, etc
--- c. The third tab is how you link the product to other parts of the store. You can link your product to multiple categories, downloadable files, related products, and manufacturers. You will need to adjust these other areas first to have them listed here.
--- d. The fourth tab is for product attributes, used for common attributes among products. You create the attributes in the Catalog->Attribute menu. These are mainly used for the Compare system to do a side-by-side compare like you'd see on computer stores, etc.
--- e. The fifth tab is the product option tab. Product options are variants of the main product. For example:
Product: iPod
Color: Red/Green/Blue
Size: 16GB/32GB/64GB
The options system in 1.5.x is vastly different than the previous 1.x version of options. You first need to create option types in the Catalog->Options area. Then come to the product page and start typing the name of the option in the autosuggest box to associate it with the product. From there you fine tune the option with pricing, weight, etc specific to this particular product. For example.
Create an option in the Catalog->Option for a Select Box named "Color" and 2 values named "Blue" and "Red"
Now you can have Tshirt that associates the color option and the 2 colors with Red costing +1.00 and blue +2.00
You can also have a Had that associates the color option with the Red costing +3.00 and the Blue at +4.00
--- f. The next few tabs are for special pricing based on date and customer group, reward points, and finally the design override if you want a custom layout for this product.


More to come...
ImageImage
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 19191
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby spgangwar » Sat Oct 15, 2011 3:42 am

I am new to OpenCart and need to add addition forms to it. Is there any idea how to do it and what files needs to be changes for permissions?
spgangwar
 
Posts: 1
Joined: Sat Oct 15, 2011 2:02 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby theevangelist10 » Tue Oct 18, 2011 3:56 am

Same Here Is this compatible If I already have an existing hosting provider?
theevangelist10
 
Posts: 1
Joined: Tue Oct 18, 2011 3:51 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby liberalbid » Mon Oct 24, 2011 7:10 pm

Hi guys
I continue to be impressed by everything OpenCart and am very thankful to Daniel and all the regular contributors here. I wanted to contibute in my own way so I've tried to keep notes of my experience with installing and configuring OpenCart in the hope that they can be used as a tutorial or guide for other new users. I've still got alot of notes to add but you can read what I've published so far at http://www.opencarttutorial.com.
I hope they are helpful.
Thanks again to everyone here for your support.
liberalbid
 
Posts: 10
Joined: Wed Jul 20, 2011 3:04 pm

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Jeremy Fisk » Fri Oct 28, 2011 4:09 am

@spgangwar

Further to your query...
spgangwar wrote:I am new to OpenCart and need to add addition forms to it. Is there any idea how to do it and what files needs to be changes for permissions?


it is possible for you to add forms... but can you please be a bit more specific... like what sort of fileds you are trying to add etc etc...

Chears

Jem
User avatar
Jeremy Fisk
 
Posts: 935
Joined: Thu Nov 11, 2010 5:11 am
Location: New Zealand (Masterton, Wairarapa)

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby stark.jay » Wed Nov 30, 2011 10:55 am

i want to migrate all my data which on my current site to the new latest updates version..
stark.jay
 
Posts: 3
Joined: Wed Nov 30, 2011 10:33 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Qphoria » Thu Dec 01, 2011 1:31 am

You need to read this:
viewtopic.php?f=2&t=36519
ImageImage
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 19191
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Getting Started with OpenCart v1.5.x

Postby cravindr » Sat Mar 10, 2012 8:00 am

Dear Sir/Madam

I purchase new vps. in vps cpanel there no opencart software. pls guid me how to setup opencart in my cpanel

thanks
C.Ravi
cravindr
 
Posts: 1
Joined: Sat Mar 10, 2012 7:56 am

Re: Getting Started with OpenCart v1.5.x

Postby merry » Tue Mar 13, 2012 4:18 pm

cravindr wrote:Dear Sir/Madam

I purchase new vps. in vps cpanel there no opencart software. pls guid me how to setup opencart in my cpanel

thanks
C.Ravi


Hi Cravindr,

You can get a free fully-illustrated guide on how to install & set up OpenCart using cPanel from the link in my signature.

Merry
Most answers are from my OpenCart 1.5 User Manual CURRENT TO 1.5.5.1 and includes free updates.
FREE HELP! 60-page user guide with OpenCart Admin Menu Cheatsheet, Install Guide & 30 Minute QuickStart Guide: http://showmeguides.com/
User avatar
merry
 
Posts: 467
Joined: Wed Dec 08, 2010 11:51 am
Location: Mexico and sometimes Texas

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Chadieu » Fri Mar 30, 2012 9:40 pm

How can I add Fed Ex an DHL on shipping ? How can I add the proper NY tax ?
Chadieu
 
Posts: 5
Joined: Fri Mar 23, 2012 7:55 pm

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby learner&coder » Thu Apr 05, 2012 12:44 am

I am begginer with opencart. Please Explain the word "escape" in this.

. $this->db->escape($data['firstname']) .

Thanx for your help.
learner&coder
 
Posts: 19
Joined: Mon Apr 02, 2012 1:20 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Qphoria » Thu Apr 05, 2012 9:59 am

learner&coder wrote:I am begginer with opencart. Please Explain the word "escape" in this.

. $this->db->escape($data['firstname']) .

Thanx for your help.


Its a function of the db class
that class is located in system/library/database.php
ImageImage
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 19191
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby cherishsos » Fri Apr 06, 2012 1:42 am

O0 OK .got it , can try later ,thankyou
User avatar
cherishsos
 
Posts: 1
Joined: Fri Apr 06, 2012 1:39 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby learner&coder » Fri Apr 06, 2012 3:44 am

i am begginer, i am not getting how to set template home page for putting module at different - different position. how mention position in home page. and i want to create a new page for employee details and emplyee login.
Please help me.
learner&coder
 
Posts: 19
Joined: Mon Apr 02, 2012 1:20 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby erudite12 » Fri Apr 06, 2012 4:23 am

PLEASE I'D LIKE A STEP TO STEP GUIDE ON INSTALLING MULTISTORE THAT WILL USE SINGLE SHIPPING CART! AND WOn't LOG OFF WHEN USERS TRY TO MOVE FROM ONE OF MY STORE TO ANOTHER, (IN GENERAL I WANT TO RUN A SINGLE SHOP WITH MULTI STORE). MY Script ids opncart.VERSION iS 1.5.2.1 .. PLEASE EVERY STEP IS IMPORTANT. I'm CONTACTING YOU GUYS DIRECTLY BECAUSE IN THE FORUM THE ANSWERS ARE SCATTERED ALL OVER.. PLEASE i'D SO MUCH APPRECIATE YOUR HELP.

Here is one thing i noticed in all instructions on setting up multistore that I found online, They all spoke of subdomain addition. HERE IS MY QUESTIONS: YES SUBDOMAIN... but what next? AM I NOT suppose to upload the files to that subdomain? OR DOES THE SUBDOMAIN AUTO GENERATES THE OTHER FILES AFTER THE ADMIN>>> SETTINGS CONFIG? PLEASE I'm JUST CONFUSED THAT IS WHY I NEED HELP STRAIGHT FROM YOU GUYS.
erudite12
 
Posts: 1
Joined: Fri Apr 06, 2012 4:17 am

WANT LITTLE HELP FOR Getting Started with OpenCart v1.5.x

Postby chakra » Fri Apr 06, 2012 3:49 pm

Thanks Opencart for your universal help, I read about this from google and tried to install it on my server and found a little messy for universal installation procedure, kindly make a blankdb.sql file for sql database creating, cause install.php file is always not working well, if you make a blank database maker text file and include it with your next update that will be better for us.. I include it with this post, hope it will help some people like me,

Thanks & Regards
Sanjit Chakraborty
India
Attachments
opencart_db.zip
Database Structure for those people who wants to make the db direct from phpmyadmin panel
(79.64 KiB) Downloaded 353 times
chakra
 
Posts: 1
Joined: Fri Apr 06, 2012 3:25 pm

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Digmen1 » Sat Apr 14, 2012 10:08 pm

Thanks for this intro tutorial.

I was having trouble understanding what the layouts do.
Now I have a much better understanding of them.
Digmen1
 
Posts: 148
Joined: Tue Apr 10, 2012 5:50 pm

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Ajeno » Wed Apr 18, 2012 7:44 am

I have to admit, I'm a complete novice with OpenCart. Infact, this is the first time I have ever integrated a shopping cart into a website. Going by what I've read so far, it would appear, I can do nothing with Open Cart, until it's installed onto the sever which will host my website.
I have already designed the layout to my site, but can I simply add the shopping cart to the site?
Can I safely assume it will all make sense to me, once I'm being hosted?
PLEASE HELP!! :-[
Ajeno
 
Posts: 3
Joined: Wed Apr 18, 2012 7:29 am

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Qphoria » Wed Apr 18, 2012 10:29 am

Ajeno wrote:I have to admit, I'm a complete novice with OpenCart. Infact, this is the first time I have ever integrated a shopping cart into a website. Going by what I've read so far, it would appear, I can do nothing with Open Cart, until it's installed onto the sever which will host my website.
I have already designed the layout to my site, but can I simply add the shopping cart to the site?
Can I safely assume it will all make sense to me, once I'm being hosted?
PLEASE HELP!! :-[


You can host it locally if you want first
ImageImage
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 19191
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: [Tutorial] Getting Started with OpenCart v1.5.x

Postby Ajeno » Thu Apr 19, 2012 3:28 am

That sounds like a good plan!
When I woke up, this morning, thinking about it. I got the impression I could make my own "add to cart", and "View cart" buttons. And I just tell Opencart to associate the buttons to what they're meant to do.
One last thing. Once I've worked it all out. The design etc. Amd I able to save the template? Or do I need to write it all down, and do it again, once I've passed the website over to a host?
Thank you for all your advice by the way. You're a star! ;D
Ajeno
 
Posts: 3
Joined: Wed Apr 18, 2012 7:29 am

Next

Return to General Support

Who is online

Users browsing this forum: bunui, paulsimmons, priyanshgangwar, sandraolt, schiggi, Stephen3 and 86 guests

Hosted by Arvixe Web Hosting