Re: [solved] Removing "Refine Search" on the category page
Posted: Fri Oct 18, 2013 8:43 am
Nice. Worked a TREAT IN 1.5.5.1, using the Gentle Theme from theme forest.
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
What is it that you changed in the CSS, as I have carried out all the necessary steps as indicated by Sinbad and yourself in the above quoted post, but can't get the images to align horizontally, even though I have made every change possible to change the direction to horizontal or in a grid view.jty wrote:you need to also define 'thumb' in the controller fileThuNderGr wrote:Does this work? i get an error "undefined index thumb".
In catalog/controller/product/category.php
FINDbelow it ADDCode: Select all
$results = $this->model_catalog_category->getCategories($category_id); foreach ($results as $result) {
then a little further below, FINDCode: Select all
// if ($result['image']) { $thumb = $this->model_tool_image->resize($result['image'], $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height')); } else { $thumb = ''; } //
ADD into that arrayCode: Select all
$this->data['categories'][] = array( 'name' => $result['name'] . ' (' . $product_total . ')',
Also, the css needs to be fixed. I'm getting the thumbs listed vertically. And I haven't catered for when a category doesn't have an imageCode: Select all
'thumb' => $thumb,
Hi ! Here is the link below for your desired extension with no price: http://www.opencart.com/index.php?route ... on_id=9688ryancalderon wrote:Hi All! does anyone knows how to convert refine search into a dropdown <select></select> box... Many thanks in advance.