To make it short,
just download an OpenCart Version, and look into it.
And, if you know anything about Code, you will find out
easy, how
complicated this thing works.
Sample: You won't find any 'complete' HTML/PHP Page Templates, you will just find Templates,
containing a Part of a Theme, Section, kind of, like header, Footer, and each and everything,
what possibly belongs in between this header and footer.
By example, this would be a HOME (FIRST SITE VIEW) Template:
Code: Select all
<?php echo $header; ?>
<div class="container">
<div class="row"><?php echo $column_left; ?>
<?php if ($column_left && $column_right) { ?>
<?php $class = 'col-sm-6'; ?>
<?php } elseif ($column_left || $column_right) { ?>
<?php $class = 'col-sm-9'; ?>
<?php } else { ?>
<?php $class = 'col-sm-12'; ?>
<?php } ?>
<div id="content" class="<?php echo $class; ?>"><?php echo $content_top; ?><?php echo $content_bottom; ?></div>
<?php echo $column_right; ?></div>
</div>
<?php echo $footer; ?>
As you see, not much of anything, to really see much out of it!
Exept, if one know's, where to find the Stuff, required to make all this work, what belongs too this, in order to finally have a 'ready to send' html - Source.
Details
Theme = a Set of subs/files, used to give a Shop another Face/Look, possibly including some Custom Extensions as well.
Template = THEME Source Files, used to 'Place/combine' all OC 'Code_Stuff' ,used/related to this task, into their places, on the 'to be created' page, and carrying the file Extension xxx
.tpl
May commonly be used as well to name/call other files, like the
.php files in the other Sections, beeing part of OC.
Extensions = Add-On's, Mod's, Modules, Modifications, anything, adding something, in order to do, add, remove, or just hide/avoid, whatever Job, not included by OC Default.
As I understand it, at least !
From Beginner To Advanced in OpenCart: Understanding MVC
http://code.tutsplus.com/tutorials/from ... -cms-21627
http://menonjats.com/understanding-mvc- ... -opencart/
http://stackoverflow.com/questions/1347 ... ncart-guru
http://venkatphp.blogspot.ch/p/open-cart-tutorial.html
http://www.janes.co.za/guide-to-open-cart/
http://code-gossips.blogspot.ch/2013/04 ... cture.html
That should do, I assume, for the coming weeks !
Good Luck !
Ernie
openshop.li