2088 Posts in 1008 Topics by 455 members
|Go to End|
13 January 2014 at 5:09am
so i was trying to extend category with a possibility to have filtering for products (products additionally were extended with attributes i want to do filtering).
However i came with few problems.
First, including "include Filters" in the ProductCategory.ss, which was not possible to locate such an include. Flush was done multiple times, however i still cannot make include Filters.ss with a single string in it "testing filters".
Any ideas, why it might not locate such include?
28 January 2014 at 9:35pm
You might want to try copying the ProductCategory.ss into your theme include folder, then including Filters.ss and try the flush again. If that is what you are currently doing perhaps bang ?showtemplate=1 on the end of the URL to see what templates are being used. Perhaps the template in the silverstripe-category/ module is still being used for some reason?
14 March 2014 at 12:54am Last edited: 14 March 2014 1:59am
ok, finally got working this.
Has anyone done any custom product filtering, i.e. using a form with dropdownfield?
I tried extending productCategory by using a filter/form, however i could not get it working, all products are shown even though filtering options are selected.
If you have any ideas, would be interesting to see (if you know a good manual on this topic, would be good as well).
saulius at myeweb.com (you can contact me for further details/link for example )
16 March 2014 at 12:11am
so went one step further. Now i'm stuck at url look after product search. Is there a way how to customize url so as there was no /formAction in the url?
|Go to Top|