Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Product template fix when using a different html template than the default

givanz135c9b5c1ece
diff --git a/app/controller/product/product.php b/app/controller/product/product.php
index dc8555f..4679ead 100755
--- a/app/controller/product/product.php
+++ b/app/controller/product/product.php
@@ -88,7 +88,7 @@ class Product extends Base {
if (isset($languageContent['template']) && $languageContent['template']) {
$this->view->template($languageContent['template']);
//force product template if a different html template is selected
- $this->view->tplFile("content/{$this->type}.tpl");
+ $this->view->tplFile("product/{$this->type}.tpl");
}
} else {
$this->notFound(true, ['message' => $error, 'title' => $error]);