Search for help

More

 

Display the product's category on the product page in opencart 1.5.1.x PDF Print E-mail

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_category->getCategory($prodcat['category_id']);

if ($category_info) {

$this->data['catprod'][] = array(
'name' => $category_info['name'],
'href' => $this->url->link('product/category', 'path=' . $category_info['category_id'])
);
}
}
//end of product category



In catalog/view/theme/yourtheme/template/product/product.tpl find the line:

<?php if ($manufacturer) { ?>



And above it add:

<span>Categories: </span><?php foreach ($catprod as $catp) { ?> <a href="/<?php echo $catp['href']; ?>"><?php echo $catp['name']; ?></a> |<?php } ?><br />



That is where I placed it on the product page but you can put it wherever you wish.

 
3D Carousel - Featured - Latest - Specials - Bestsellers PDF Print E-mail

demo: http://opencartwork.com/carousel3d

buy here: http://shopencart.com/3d-carousel-opencart

 

Read more...
 
Autumn - furniture opencart 1.5.x template PDF Print E-mail

demo: http://opencartwork.com/seasons/

buy here: http://shopencart.com/autumn-opencart-template

 

Read more...
 
7 Featured products module clones for 1.5.1.3 PDF Print E-mail

demo: http://opencartwork.com/anymod/

buy here: http://shopencart.com/featured-clones-module

 

Read more...
 
Classic - 10 templates in one for opencart 1.5.1 PDF Print E-mail

demo: http://demo.opencart-help.com/006/

buy it here: http://store.shop-carts.net/classic-opencart-themes

1.5x Classic - 10 templates in one

Classic is a template that comes in 10 different colour schemes.

All 10 themes have the same layout , the colour scheme makes the difference

In the demo is presented only Classic Silver theme , so for viewing the others please look at the aditional images.

> 10 colour schemes;

> classing and very appealing layout;

> psd file for logo included;

> product info tabs displayed similar to centered modules;

Read more...
 
Oc-ThemeFour - Opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/002/

buy from here: http://store.shop-carts.net/octheme4-template

This is a 2 column Template , so when you set up the modules position , consider that

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- different tpl's and styles for modules set to center / sidebar;

- carousel style dysplay for product modules set to center;

- psd files for slider banners included;

Read more...
 
Oc-ThemeTwo - Opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/001/

buy it from here: http://store.shop-carts.net/oc-theme2-opencart-template

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- category wall module;

- different tpl's and styles for modules set to center / sidebar;

- nice hover effects for modules set to center;

Read more...
 
Bleen - opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/07/

buy from here: http://store.shop-carts.net/bleen-opencart-template

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- different tpl's and styles for modules set to center / sidebar;

- nice hover effects for modules set to center;

- psd files for slider banners included;

- psd files for sidebar banners included;

Read more...
 
News / Blog extension and module for opencart 1.5x PDF Print E-mail

buy from here: http://store.shop-carts.net/news-blog-opencart-1.5

frontend demo: http://demo.opencart-help.com/05/index.php?route=information/news

admin demo: http://demo.opencart-help.com/05/admin

Login: demo and password: demo

Once you logged into admin navigate to extension>module>latest news , and from there to news pages;

News / Blog extension and module for opencart 1.5x

The extension: Gives you the posibility to insert news or blog articles which are being displayed in frontend in a news list and on individual pages;

new in oc 1.5 ver: ► seo urls for articles

► pagination system (10 intros per page)

► meta tag description for articles

► meta tag keywords for articles

Read more...
 
Learn how to install modules in Opencart 1.5.x PDF Print E-mail

 

Having your own online store can be a great opportunity to gain money. One of the best advantages is that you do not have to invest a fortune to start it. All you need is a website and little basic knowledge. If you do not know anything, do not worry you will find plenty of tutorials on the internet. In this tutorial, you will learn how to install modules in opencart 1.5.1. It is not hard and you will be able to do it yourself as soon as you finish reading. It is true that if you are used to the older versions of Opencart, it may seem a little bit different however, the steps that you have to follow are quite similar. So, do not be stuck and ask for help before trying to fix the problem yourself. You will see that you will save money and in the same time, you will be able to teach others how to do it. So, let us start. If you are searching for how to install modules in opencart 1.5.1 it mean that, you know how to install everything until now and you are not a newbie. There is hope for you and your store.

Read more...
 
Show sku or location on opencart 1.5 product page PDF Print E-mail

If you want to display the sku or location fields in the product description in opencart this is how you proceed:

Edit the file catalog/ controller/ product/ product.php

Find the line:

$this->data['reward'] = $product_info['reward'];

Below it , post the line:

$this->data['sku'] = $product_info['sku'];

hit save.

Now edit the file:

catalog/view/theme/yourtheme/template/product/product.tpl

Find the line:

<span><?php echo $text_model; ?></span> <?php echo $model; ?><br />

Below it add the line:

<span>New field name</span> <?php echo $sku; ?><br />

And save.

You can do the same thing for location , only use the word location instead of sku.

Now , what you will insert in admin in the sku field will apear in product page below model(or product code)

 
Facebook Like Button for opencart PDF Print E-mail

If anyonewants to add the Facebook Like Button to their Opencart Store Follow the Following Instructions:

Requirements:
- SEO URLs Must be Enabled

Instructions:

Edit the file: catalog/view/theme/default/template/product/product.tpl

Find this piece of code:

Read more...
 
How to show category images on home page of opencart PDF Print E-mail

I know I ran across someone asking this question and I can't find that post again and I don't know if this has ever been answered, so I will post my solution. If it's a dupe, my apologies to the mods.

In -- controller > common > home.php -- I added it around line 25, right under this portion

Read more...
 
Add Product Options to category listing in opencart PDF Print E-mail

I finally figured this out and wanted to share it with everyone, i would be lying if i said this was easy for me to figure out, but now that i have it looks so simple. (This also works for manufacturers, just use the same code and should work fine) 
This mod, if done correctly will show all the options and an AJAX add to cart button if there are options or just a QTY and add to cart button if there are no options.

This involves changes several files.

So if you are reluctant to changing files this mod is not for you

Until we get to the options section you can pretty much follow the thread above. But i will post it below anyway

modify OPENCART_ROOT/catalog/controller/product/category.php

Read more...
 
Related Video for Products - opencart mod PDF Print E-mail

Here are the instructions on how to create the mod.

This is for version 1.4.8b but should work for any previous version providing you follow the correct folder structure.
This was made created originally by me for 1.3.2 and updated to 1.4.8b

PLEASE PLEASE PLEASE BACK UP EVERYTHING YOU MODIFY BEFORE ADDING THIS MOD

I will not be responsible for anything you mess up while adding this modification.

Edit mysql database 'oc_product' table

insert new column after 'stock_status_id'

Name new column 'video'

Read more...
 
Floshop2 opencart 1.5.1x template PDF Print E-mail

demo: http://opencartwork.com/floshop2

buy here: http://shopencart.com/floshop2-opencart-template

Compatible with: Opencart 1.5.1 - 1.5.1.1 - 1.5.1.2 - 1.5.1.3

Read more...
 
Floshop opencart 1.5.1x template PDF Print E-mail

demo: http://opencartwork.com/floshop

buy here: http://shopencart.com/floshop-opencart-151x-template

 

Read more...
 
Manufacturer module - List - Wall - Carousel - Selector PDF Print E-mail

demo: http://opencartwork.com/brands-mod

buy here: http://shopencart.com/opencart-manufacturer-module

 

Read more...
 
Specials by category module for opencart 1.5.1.x PDF Print E-mail

demo: http://opencartwork.com/spbc

buy here: http://shopencart.com/specials-by-category-module

 

Read more...
 
bigCart 2 - Opencart 1.5x cool template PDF Print E-mail

demo: http://demo.opencart-help.com/005/

buy it here: http://store.shop-carts.net/bigcart2-opencart-template

- Compatible with Opencart 1.5.1 - 1.5.1.1

- cool and modern design;

- different styles for modules set to center / sidebar;

- nice hover effects for modules;

- psd files for slider banners included

- psd file for logo included;

Read more...
 
Oc-ThemeThree - Opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/003/

buy it here: http://store.shop-carts.net/octheme3-opencart-template

This is a 2 column Template , so when you set up the modules position , consider that

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- different tpl's and styles for modules set to center / sidebar;

- carousel style dysplay for product modules set to center;

Read more...
 
Oc-ThemeOne - Opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/04/

buy from here: http://store.shop-carts.net/opencart-theme-one

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- category wall module;

- different tpl's and styles for modules set to center / sidebar;

- nice hover effects for modules set to center;

- psd files for slider banners included;

Read more...
 
BlueStore - opencart 1.5x premium template PDF Print E-mail

demo: http://demo.opencart-help.com/06/

buy from here: http://store.shop-carts.net/bluestore-opencart-template

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- new title style for products and categories;

- different layout between modules seted to sidebars and center;

- psd file for banner included;

Read more...
 
eStore - opencart 1.5x premium template PDF Print E-mail

Demo of template: http://demo.opencart-help.com/a2/

Buy the template here: http://store.shop-carts.net/estore-opencart-template

- Compatible with Opencart 1.5.0.4 - 1.5.0.5 - 1.5.1 - 1.5.1.1

- nice and modern design;

- new title style for products and categories;

- different layout between modules seted to sidebars and center;

- psd file for banner included;

Read more...
 
How to style the opencart 1.5 main button PDF Print E-mail

In the stylesheet.css of the default theme (catalog/view /theme/default/ stylesheet/ stylesheet.css) the button used in all instances in opencart is defined

using this piece of code:

a.button {
display: inline-block;
padding-left: 6px;
background: url('../image/button-left.png') top left no-repeat;
text-decoration: none;
cursor: pointer;
}
a.button span {
color: #FFFFFF;
line-height: 12px;
font-size: 12px;
font-weight: bold;
display: inline-block;
padding: 6px 12px 8px 5px;
background: url('../image/button-right.png') top right no-repeat;
}
a.button:hover {
background: url('../image/button-left-active.png') top left no-repeat;
}
a.button:hover span {
color: #FFFFFF;
background: url('../image/button-right-active.png') top right no-repeat;
}

So, the button backgroung is image , acualy 2 images and they are located in the template image folder (catalog/view/theme/default/image) and they are named

Read more...
 
How to use the slideshow in opencart 1.5x PDF Print E-mail

For those of you unfamiliar yet with opencart 1.5 , here it is how you set up the slider.

First you go in admin > system > design > banners , and there you either edit or insert banners.

When you clicked insert (or edit) you will be taken to the banner page. In that page you have to insert more images

by clicking "Add banner" if then you want a slideshow.

After you uploaded your images in the banner (is best if the images are the same size) , navigate trough admin to

extension > modules.

There , click edit on the module Slideshow.

There , you will click add module , and in the first column , its asking you to select a banner. So , there you

select the banner in which you uploaded more that one image (the images from that banner will appear on your

slideshow.

Read more...
 
Facebook Product share for opencart PDF Print E-mail

>May be this code can help you share product to facebook
Demo : http://grosirnesia.com (First, select product and find description tab)

Step 1 :
Copy and put this script on your product desc (or other place/position)

Code: Select all
<a href="http://www.facebook.com/sharer.php" name="fb_share" type="button_count">Share to Facebook </a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>

Read more...
 
Delivery Date - opencart module PDF Print E-mail

Deliver Date

Purpose:
This extension makes it convenient to manage delivery schedules both for you and your customers.
Delivery Date extension, includes configuration that allows you to set other parameters aside from the most convenient delivery schedule for you and your customers. You can also specify a minimal interval between the order and delivery date (such as 3 days, one week, etc.) Adding these settings to your store takes very little time and provides incredible value!

Read more...
 
Show Random products on the Home Page on opencart PDF Print E-mail

This method doesn't strain the database for searching rand(). Instead it pulls back more products and uses php's shuffle() function

1. EDIT: catalog/controller/module/latest.php (or featured.php)

2. FIND:

Code: Select all
$results = $this->model_catalog_product->getLatestProducts($this->config->get('latest_limit'));



3. REPLACE WITH:

Code: Select all

$results
= $this->model_catalog_product->getLatestProducts(10 * (int)$this->config->get('latest_limit'));
srand((float)microtime() * 1000000);
shuffle($results);
$results
= array_slice($results, 0, $this->config->get('latest_limit'));

Read more...
 
Short Product Description in opencart product list PDF Print E-mail

1a. If using 1.4.8 or later, EDIT: catalog/controller/module/latest.php
1b. If using 1.4.7 or earlier, EDIT: catalog/controller/common/home.php

2. FIND:

Code: Select all
'name' => $result['name'],
Read more...
 
More Articles...
« StartPrev123NextEnd »

Page 1 of 3