Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Set taxonomy_item_id as get parameter for further use

givanz008ba43630c4
diff --git a/app/controller/product/category.php b/app/controller/product/category.php
index 2ec17c4..687daea 100755
--- a/app/controller/product/category.php
+++ b/app/controller/product/category.php
@@ -37,7 +37,7 @@ class Category extends Base {
$category = $categorySql->getCategoryBySlug($options);
if ($category) {
- $this->request->request['category_id'] = $this->request->request['taxonomy_item_id'] = $category['taxonomy_item_id'];
+ $this->request->get['category_id'] = $this->request->request['taxonomy_item_id'] = $category['taxonomy_item_id'];
$this->view->category = $category;
$this->view->category_name = $category['name'];
} else {