Ecommerce Templates > WordPress > Getting started with WordPress and Ecommerce Templates

Getting started with WordPress and Ecommerce Templates

Wordpress shopping cart software

Once you have purchased the Ecommerce Templates shopping cart software for WordPress you will receive a zip file with all the files and folders that make up the store. The zip file is available for download on the receipt page following purchase and via email in the confirmation mail you receive from Ecommerce Templates. We strongly recommend making a back up of the zip file in case files are lost or you need to go back to the original files. The integration here assumes you already have a copy of WordPress installed on your server.

Step 1. Install WordPress

If you haven't already done so, you can download wordpress from here. Just follow their instructions for setting up your database and installing.

Step 2. Copy Files

Copy the files from your Ecommerce Plus WordPress template to the same location as your WordPress installation.

Step 3. Setup Cart Database

All you need to do is run the createdb.php script in your browser. For instance...
http://www.yourstoreurl.com/createdb.php
Then click on the button to install. It's a good idea to remove this script from your website after installation.

For those used to the old ECT WordPress templates, please note that the shopping cart will now use the WordPress database connection so it doesn't need to be set separately.

Step 4. Set URL Structure

Now log in to your ECT cart admin area by going to the vsadmin/admin.php page. For instance...
http://www.yourstoreurl.com/vsadmin/admin.php
The default login / password is...
mystore
changeme
You will be asked to change your password. Once you've done that, go to the Main Settings page and at the top you will see a heading, "URL Structure".

Choose if you would like your cart links to be regular PHP pages like...
categories.php?cat=My+Category
products.php?cat=My+Category
cart.php
...extensionless URL's like...
categories?cat=My+Category
products?cat=My+Category
cart
...or SEO type
categories/My+Category
products/My+Category
cart

You can always change this later if you decide to use a different URL system.

Step 5. Set Home Page

Your ECT Theme should now be available in your WordPress admin, so log in to WordPress and go to Appearance ➜ Themes and click on Activate which appears when you mouse over the theme icon.

Your Home Page can be set in the usual way in WordPress, however your Ecommerce Plus cart comes with two templates which you can use. To do this, go to your WordPress admin and click on "Pages" and create a new page, giving it a name for instance "Home Page".
Then under Settings ➜ Document ➜ Page Attributes ➜ Template on the right hand side you should see "ECT Dynamic Home Page" and "ECT Static Home Page". The Static Home Page is for those that know their way around an HTML editor, and is really just placeholders for you to change your own text and images.
The Dynamic Home Page allows you to fill in the blanks with all the usual WordPress features and posts, and needs no knowledge of HTML editors at all. Each section can be modifed through the WordPress Customizer (Appearance ➜ Customize) under the Homepage Settings section.
There are also settings in the Customizer under "ECT Theme Settings", including settings for the copyright notice and social media account id's.

When creating posts for Sliders and other home page elements, just set the visibility to "Private" if you don't want them to appear in the regular posts listings.

Step 6. Menus and Widgets

The final key to defining your site is in the Appearance ➜ Menus and Appearance ➜ Widgets sections. Widgets are the Controls that you can add to sidebars and footers to add functionality. We have included the ECT Widgets plugin so you have Product Search, Mini-Cart, Mini-Login, Recently Viewed Products and a Dynamically Generated Product / Category Menu widgets available, as well as all the WordPress Widgets.

The Appearance ➜ Menus section of the WordPress admin is where you can define what links appear in the navigation menus defined by your Ecommerce Templates theme. Remember, if linking to cart pages just use Custom Links and to respect the URL structure you are using. For instance, if linking to the root categories page it will be "categories.php", but just "categories" if using extensionless or SEO URL's. Similary the shopping cart is "cart.php" or "cart".

Important Tip!

If you are going to edit the Static Home Page, make a copy of the file...
wp-content/themes/themename/page-static.php
...then open the new page in a text editor and change near the top...
//Template Name:ECT Static Home Page
...to say, "My Static Home Page". Then use that new page as the home page. The reason for this is just so if you update the theme, your changes don't get overwritten.

That's it! All done!

Well, nearly. It takes time to build a great website and content is the key. But the idea of WordPress and the ECT WordPress Templates is Plug and Play all the way. Try things out and if you have problems, remember we can help on our support forum here.