PHP Variables
Posted: Thu Nov 27, 2008 3:04 am
Hello all,
I'm new to OpenCart and am working to learn its structure so I can best make design changes to suit my web store. As there is currently no documentation available for cusomization, etc. I'm exploring these key components on my own and making notes as I go along (I'll be happy to share what I discover).
As a newbie and an old school programmer I'm first puzzled by where the variables used in the PHP and TPL files are loaded, modified, etc.
Here's a simple example from the home.tpl file:
div class="heading">
So where does the $heading_title variable come from? How can it be modified? Can anyone shed any light on this? Sorry if this is too basic a question, but I'm just cutting my teeth on this stuff.
I'm new to OpenCart and am working to learn its structure so I can best make design changes to suit my web store. As there is currently no documentation available for cusomization, etc. I'm exploring these key components on my own and making notes as I go along (I'll be happy to share what I discover).
As a newbie and an old school programmer I'm first puzzled by where the variables used in the PHP and TPL files are loaded, modified, etc.
Here's a simple example from the home.tpl file:
div class="heading">
So where does the $heading_title variable come from? How can it be modified? Can anyone shed any light on this? Sorry if this is too basic a question, but I'm just cutting my teeth on this stuff.