route=product/product

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart Themeroute=product/product

This topic has been marked as resolved.

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?

January 9, 2012 at 10:18 am #5030

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

January 10, 2012 at 12:42 pm #5077

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

January 10, 2012 at 11:25 pm #5095

Glad everything is OK now.

If you have any other problems, do not hesitate to ask :)

Best,
ThemeBurn team

January 13, 2012 at 4:21 pm #5209
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.