Search the Community
Showing results for tags 'filtering'.
-
Hello... I need help with some filtering... I'm creating a car parts store and I need a sort of filter, that when I select: "Find parts by car options" (fx brand model year) this global filter 'hides' the categories from the entire page that a not relevant (where there are no products available for this search), only showing you the specific category options related to the search, so the content of the page remains as it was, but filtered - not giving you a massive list with products. (hope this makes sense, an example of what I mean below) Like most car pages apparently, do... This site fx: https://www.showoffimports.nl/home.php?setregion=jp Has a filter to the left, and when you select your car it gives you the 'main page' - (not a result page with products), but with the categories + products related to the search remaining: https://gyazo.com/f545da5a7a6539f8d0f37be3b5bac40c And also saves your selection until you reset the filter. Is there a module for this, or does it have to be coded specifically? As I mention, this is very common on most car store webshop, so its possible to do... Can anyone help me? Thanks!
-
Hello I have a problem. Blocklayered display prices which excluded tax ? I have enable all options in this module etc. If it possible please help me beacuse i can't change it. I would like to get prices with TAX in filter slider. Thank you.
-
I am using layered navigation block module for product filtering, but since I have hundreds of different color name options the list is extremely long. I am looking for an option where I can group these color names ( e.g. black smooth, black leather, black/grey, black/silver) into one selection (possibly "black") within layered navigation block. This way the user does not have to go through all the slight variations of the colors to find what they are looking for. Does anyone have any advice or recommendations for a solution to get the color attributes grouped into a parent attribute?
-
- product filtering
- attributes
-
(and 2 more)
Tagged with:
-
Hi, the filtering of products by color when i use color combination groups works fine in my PS. But im wondering how can i use the filter by color function in the category if a product has not combinations... also to some products i want to set several colors for example red and pink. How can i do this in prestashop? Is this possible with the features of the product? many thanks chris
- 15 replies
-
Hello all, Currently, we're experiencing some strange behaviour when filters are applied to categories. We're running Prestashop 1.6.1.6. The issue: when filters are applied onto a (product)category (w/ results spreading over multiple pages) and the user goes to the next page w/ results, all applied filters get cleared. Reproduction: this issue does not occur 100% of the time, it occurs quite randomly. Of course, only when there are mulitple result-pages. Attached pls find a screenshot for clarity (I hope, since our webshop is in Dutch . Should I report this as a bug or is this a known issue? Many thanks in advance for any pointers, advice etc. Cheers, redmar
-
I am currently having issues in our back office when filtering products by category. When returning back to the product list after editing a product, the filter I used is reset. This makes it even more time consuming when editing our products. I have searched for hours on this forum, on forge, and github. On forge, I keep seeing responses that it was fixed in an svn, but I don't know which one. I have no knowledge on how to use svn and I am not sure what needs to be updated in the core files. We are currently using prestashop 1.5.3 on a dedicated Linux server. Hopefully someone here has an in-depth fix for this. I would greatly appreciate any and all help!
-
Hi, I have noticed a problem with using both sorting and filtering on product list. Scenario 1: I select sorting option, for example price ascending - the product list gets sorted correctly. Then, I select filtering option, for example Size = M. The product list gets filtered correctly and is still sorterd by price asc. This scenario works fine. Scenario 2: I select filtering option, for example Size = M. The product list gets filtered correctly. Then, I select sorting option, for example price ascending. The product list gest sorted correctly, but my filter for Size = M is gone (as a matter of fact if I selected more filters, all of them would be gone). This can be very annoying for clients, as they have to reselect filtering options each time they sort the product list. I have tried this on demo.prestashop.com, as well as on my installation of the Prestashop (1.6.1.1, blocklayered module 2.1.2) and I saw the same issue on both sites. I have raised a bug on forge.prestashop.com around a month ago, but still no response... (http://forge.prestashop.com/browse/PNM-3590) Any ideas would be greatly appreciated.
- 1 reply
-
- blocklayered
- sorting
-
(and 1 more)
Tagged with:
-
Hello, i am looking for a solution to use layered navigation & narrow search for manufacturer page in order to browser products. Has anyone resolve such a case? I was thinking of using manufacturers as a second category for each product, although it could work i wish there is a more clean solution. Regards, C
- 2 replies
-
- manufacturer view
- layered navigation
-
(and 1 more)
Tagged with:
-
I am working on a back office module controller. I am able to display my object in a list view and also create a new one using the helper form. However, the default list view that I have, does not sort or filter anything. The list view shows the controls for sorting and filtering but clicking on them does nothing. Here is my back office controllers: class AdminCustomController extends AdminController { public $module; public function __construct() { $this->table = 'custom_table'; $this->className = 'CustomTable'; $this->module = 'customtable'; $this->lang = false; $this->bootstrap = true; $this->need_instance = 0; // Building the list of records stored within the "test" table $this->fields_list = array( 'id_custom_table' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 25, 'type' => 'text' ), 'name' => array( 'title' => $this->l('Name'), 'width' => 'auto', 'type' => 'text', 'orderby' => true, 'search' => true //the ordering and filtering controls do appear but they don't work ),//...some more fields ); $this->_select = '....'; $this->_join = ' LEFT JOIN `' . _DB_PREFIX_ . 'product_lang` b ON (b.`id_product` = a.`id_product`)'; $this->_defaultOrderBy = 'a.some_date'; $this->_defaultOrderWay = 'ASC'; $this->context = Context::getContext(); parent::__construct(); } public function renderForm() { // Building the Add/Edit form $this->fields_form = array( 'submit' => array( 'title' => $this->l(' Save '), 'class' => 'button' ) ); $this->addJqueryUI(array('ui.datepicker', 'ui.autocomplete')); return parent::renderForm(); } public function renderList() { return parent::renderList(); } } I have looked at code of other modules and also default PS controllers and all of them just return the parents list view unless it is modified and by default the sorting and filtering feature works fine on them. I did not see any sorting or filtering specific code and that is why my admin controller does not have any. I would appreciate if you can help me understand and enable the sorting and filtering in my back office list view. I feel that I have missed something but I can't figure out what? Please help! Thanks
-
I want to change NewProductsController.php to get products from specific category. I have copied the file to /override/controllers/front folder but I don't know what to do. I want to get the category ID (and use the subcategories also) using GET variables from a custom link and filter the products of this category/subcategories. eg. www.mysite.com/new-products?cg=3 I don't want to change the Product class, so I want to take the array 'products' => Product::getNewProducts($this->context->language->id, (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay), and create a new array only with the products in category 3 (cg=3) and all subcategories. Is this possible? Thanks!!
- 4 replies
-
- 1
-
-
- new products
- controllers
-
(and 2 more)
Tagged with:
-
I am having a major issue with my site. After viewing a ton of pagenotfound errors on my customers online tab, we decided to dig through the site and found that on random, categories will lead to page not found. after looking deeper we found that inside certain categories, an automatic filter will activate on all categories leading out. Here is an example of how the link will look. http://apostolicclothing.com/17-maternity-modest-clothing/categories-tops?n=10&selected_filters=categories-tops?n=10&selected_filters=categories-tops?n=20&selected_filters=categories-tops&p=15&p=15 That same filter will be applied to whatever choice we make. This happens when certain categories are clicked, the category will show up fine but you will get page not found if you try and navigate to another category. What ive tried: Ive tried removing the layered navigation module, problem was still there ive also tried force compiling and resaving seo settings but didnt help. I really hope someone can help me with this because ive never seen anything like it in all my years of working with prestashop. im using 1.5.2
- 4 replies
-
- pagenotfound
- page-not-found
-
(and 8 more)
Tagged with:
-
Hi there, We are working on a connector which synchronizes the data of PrestaShop customers with other SaaS applications. In the process, I succeeded in retrieving customers data via an API call in the form of myprestashop/api/customers/?display=full&{some filtering conditions}. Concatenating the customer's ids allows me to create the following API call to bulk-retrieve the orders filtered by the ids of the customers I am processing: myprestashop/api/orders?display=full&filter[id_customer]=[3,4,5] (where "3,4,5" is the concatenation mentionned beforehand). This call: works if all customers have at least one order contains only the orders of customer 3 if customer 4 has no order, but customer 5 has some contains no order at all if customer 3 has no order, but bothcustomers 4 and 5 have some Obviously in the 2. and 3. cases, I would have expected the API to return the orders of all the filtered customers. I haven't found a similar issue in the PrestaShop forums (couldn't even find a forum dedicated to the API). Am I using the API the wrong way? I am using PrestaShop 1.4.7.3 since one of our customers is using this version, thus our connector must work with 1.4.X API. I am puzzled because: case 1. works as expected I am logging PHP errors and nothing was logged. Moreover, had an error occured, I would expect an <error> tag in the API response Until some of you can send some feedback, I guess my only solution is to perform one "orders" call per customer (eg. myprestashop/api/orders?display=full&filter[id_customer]=3) but this breaks the interest of using a bulk API by producing a lot of bandwith traffic and slowing down the whole process. Thanks for reading this post so far!
-
Greetings, I was wondering if the layered navigation module that comes with the default installation supports automatically filtering products by their category. I.e. I have a main category with many subcategories and when the user is browsing the main category I'd expect him to be able to filter products by sub-category. I need this since I believe it will save a couple of clicks and would allow the user to jump from overview to focused view more easily. A workaround would be to add a new feature to products and add their category there, but I'm curious if more than this is possible. Thanks in advance Alexander Edit: Using PS 1.4.8.2 at the moment. Edit 2: I just figured that it's possible after changing category filter depth option to 0 in module's configuration. You can close/archive this topic. Thanks
-
- modules
- layered navigation
-
(and 1 more)
Tagged with: