For some reason the
store/index.php?route=product/product&product_id=50
is reading product.tpl from:
store/catalog/view/theme/default/template/product
instead of:
store/catalog/view/theme/shoppica/template/product
Can you tell where can I change the above?
|
|
You could check this file catalog/controller/product/product.php . You should find the following piece of code around line 352:
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/product.tpl')) {
$this->template = $this->config->get('config_template') . '/template/product/product.tpl';
} else {
$this->template = 'default/template/product/product.tpl';
}
These lines are responsible for including the appropriate theme template.
You may have some vqmod modifications that prevents opencart from including it. You may also renamed it accidentally.
This is most certainly not a Shoppica issue.
Best,
ThemeBurn team
|
|
Hello,
Thank you for your reply. This issue has been solved.
I reviewed product.php source code as recommended and it was the same. So I deleted such file from default as well as shoppica directories, then reloaded both files, and now it works ok.
I presume the browser or server got stock with default directory in its cache and didn’t want to let go.
Regards,
trulyergo
|
|
Glad everything is OK now.
If you have any other problems, do not hesitate to ask
Best,
ThemeBurn team
|
|