Hi,
I installed the module and got it working ... so far.
I suppose the menu should be horizontal orientated, but on my site it is shown as a vertical menu, so all categories are shown under each other
En el primer post esta completo el modulopaynani wrote:juancho3000 wrote:efectivamente, faltan archivos,me bajé el paquete desde otro lado y funciona de lujo
Podrias compartir la liga?
Gracias
Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica
Back here again ...
Since upgrading to V.1.5.1, the accordion menu child links do not stay visible when clicked/active, any help with this please?
http://www.londontshirt.com
Thanks
Since upgrading to V.1.5.1, the accordion menu child links do not stay visible when clicked/active, any help with this please?
http://www.londontshirt.com
Thanks
Hello, i have your module on my shop but i have a problem.
When i putt -1 to category, it does nothing. I have the some category. And he has to hide the category with -1
When i putt -1 to category, it does nothing. I have the some category. And he has to hide the category with -1
i have problem with Menu Acordeon v1.5.1, i use opencart V1.5.1 if i active this module so in my category have this erro:
foreach ($categories as $category) { if (((int)$this->data['category_id'] == (int)$category['category_id'])) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); $i = 0; foreach ($children as $child) { if ($i == 0 && (int)$this->data['category_id'] == (int)$child['category_id']) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } $i++; } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'], 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); break; } else { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); $i = 0; foreach ($children as $child) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); $i++; } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'], 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } }
have solution for my problem...thanks for any body can help...
foreach ($categories as $category) { if (((int)$this->data['category_id'] == (int)$category['category_id'])) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); $i = 0; foreach ($children as $child) { if ($i == 0 && (int)$this->data['category_id'] == (int)$child['category_id']) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } $i++; } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'], 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); break; } else { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); $i = 0; foreach ($children as $child) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); $i++; } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'], 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } }
have solution for my problem...thanks for any body can help...
Get This Error what to do pls Help
Fatal error: Call to undefined method ModelCatalogProduct::getTotalProductsByCategoryId() in /home/shopping/public_html/catalog/controller/module/accordion_menu.php on line 61
when i Select Products Counts in Show next to categories: Tab
Fatal error: Call to undefined method ModelCatalogProduct::getTotalProductsByCategoryId() in /home/shopping/public_html/catalog/controller/module/accordion_menu.php on line 61
when i Select Products Counts in Show next to categories: Tab
Who is online
Users browsing this forum: No registered users and 57 guests