Timeline for How do I add an exposed form to search products?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 28, 2022 at 15:02 | answer | added | wilburunion | timeline score: -1 | |
Mar 23, 2022 at 4:53 | comment | added | wilburunion | The moderator who edited this changed the entire question. I am trying to get a search box that will search both content and commerce products as Ubercart did out of the box. The database search server can be indexed to do that. Now that I know the themes are partly to blame I will try a few things first changing themes . I am now on 9.3.9. A search is ridiculous if it doesn't search the entire site. A search of a product catalog box view shows but does not work to show results by solr so I will try the database server index there first. Ubercart just worked but Commerce is complication | |
Mar 21, 2022 at 12:37 | comment | added | sonfd | Let us continue this discussion in chat. | |
Mar 21, 2022 at 12:31 | comment | added | wilburunion | I did use /products for visibility - the TITLE shows, but no box to enter the search, and I tried it BOTH ways , like the pic shows, and with none of the product types checked and same effect nothing changed I will go back over it again, but I am begining to think it is the theme causing this. Either that or Domain Access / Theme code. For instance Bootsrap Barrio behaves differently than Adaptive Theme - and even in Adaptive Theme the two different projects "at_theme" (2.0) or "adaptivetheme" Drupal is now off the deep end - it worked on Drupal 8 - but not now on Drupal 9.3.8. Go Figure | |
Mar 20, 2022 at 22:32 | review | Close votes | |||
Apr 8, 2022 at 3:04 | |||||
Mar 20, 2022 at 22:14 | comment | added | sonfd | But these are all just guesses because we have no idea how your view or search indexes are actually configured. | |
Mar 20, 2022 at 22:12 | comment | added | sonfd |
It's not clear what the block is that you're showing the visibility settings for. But if that is for the search form for your products list, you need to make sure it's set to display on the same page as the view you made, probably something like /products . Or it might be even easier to set your view to NOT expose the form in a block. In the Exposed form section of the Advanced settings, click the Yes link next to Exposed form in block to change the setting to No.
|
|
Mar 20, 2022 at 21:27 | comment | added | wilburunion | I see from the last line that the "visibiity" setting in the config is an "exclusion" and not an "inclusion" setting | |
Mar 20, 2022 at 21:24 | comment | added | wilburunion | I used Acromedias howto at acromedia.com/article/… usinga Solr server - but it has language issues but will produce a form that does not display results and another from docs.drupalcommerce.org/commerce2/developer-guide/products/… using the database server which does not produce a search box but I can display a page of all products. apaderno changed the question into completely something OTHER than I am asking - I want a search box that will show BOTH content and products. | |
Mar 20, 2022 at 19:25 | history | edited | avpaderno♦ | CC BY-SA 4.0 |
removed tags from the title
|
Mar 20, 2022 at 13:10 | comment | added | sonfd | Please add some more detailed information about what you did and link to the docs you say you followed. You say there's no exposed form even though you created a view, but did you add an exposed form to the view? Also, your screenshot seems to show a block configuration screen where you've configured the block to appear on certain product pages - which doesn't seem to have anything to do with the rest of your question. | |
Mar 19, 2022 at 21:30 | history | asked | wilburunion | CC BY-SA 4.0 |