Jump to content

Filter layered problem 1.4.4.0


Recommended Posts

Hello,

I upgrade my shop from 1.3.7 to 1.4.4.0 but i have some problems like, when enable "layered filter category" module my theme got broken (see screen), i think its some problem with java and css, but not sure and it won't configurate.Templates won't save in "Existing filters templates".Second problem are when im in Back Office and click on Modules tab it say's me "Invalid Security Token" and give me 2 choices - I understand the risks... and Leave/Cancel.I see where is the error tab gives bad url.If im writing "index.php?tab=AdminModules&token=85b028636970b811888d86ec60e15a86" in URL bar i go to Modules tab without this erro, but link of the tab got me this "token=b061e7ffbe5aac2c89e16baa5d63ea13" im pretty sure thats old one (of old install 1.3.7).

 

Sorry for bad english.

 

 

Screenshots i made

Screen after page load:

screen1.png

 

Screen made when page loads (looks fine):

screen2.png

 

AND NOW i compile my thene and see whats happend, ok thats it i want my money back.NO SUPPORT from developer, no support from everyone.I have online shop, im not a programist LOL.Pissed off this theme broken all my site, everyday my customers question me why site are broken...

 

screen3.png

Link to comment
Share on other sites

Hi everyone,

 

Thanks for your feedback, we are working hard to improve this module for the next release.

 

The new version will include a new filter block "By price" (with a slider like for the weight filter) and some improvements related to SEO/URLs.

 

Regarding your issue, I guess this is a Javascript issue, can you install Firefox and then the "Firebug" module:

 

1. http://www.getfirefox.com

2. https://addons.mozilla.org/fr/firefox/addon/firebug/

 

Then go to your website, launch Firebug and you should see an error, can you copy/paste it here?

 

Regards,

Link to comment
Share on other sites

Where i can see that error i install firebug, but no error apears.

Btw, when page loads and i stop before full loading of all elements, module works fine, and also my product CSS are fine.

See image below (i stop loading at the begining)

 

And most important of all module WORK's correctly!

 

layered_nav-prob1.png

 

layered_nav-prob2.png

Link to comment
Share on other sites

  • 2 weeks later...

Mike,

 

it would be great for the next release of layered navigation module to be able to have all the available filters for the specific categories.

 

Also would be great if the module is able to hide the filter category if that product list page doesn't have filter matching on that list.

Link to comment
Share on other sites

  • 2 weeks later...

Sorry, no teasers. But don't worry, your wait is almost over ;) !

 

-Mike

 

I'm having problems with the new version too.

 

1. I cannot hide filter values with no product is matching

2. the numbers in brackets are not exact (or maybe the filter uses different criteria to calcuylate the number)

For example I've got

filter by

category:

chairs (9)

manufacturer:

manu001 (16)

 

I don't understand the 16

 

Any idea?

 

Thanks in advantage

Link to comment
Share on other sites

Hi ormone,

In your blocklayered configuration, have you enabled "Hide filter values with no product is matching"?

 

post-276528-0-98232800-1319052360_thumb.jpg

 

-Mike

 

Yes, Mike, first thing I did, but no result.

 

Also the numbers of product in the manufacturer filter is a mistery for me

 

-Simone

Link to comment
Share on other sites

Hi Mike!

 

I seem to be having some issues with the layered navigation as well.

 

Here is my URL: http://www.melmira.com/shop/11-bras

There seems to be an issue with closing/cancelling the filter (clicking the x next to the filter), and also the hiding/collapsing of the categories with the arrows. It was the same thing with the sizes as well, but as of now I have taken that off.

 

Any ideas?

Link to comment
Share on other sites

I just did the latest update, and it still seems to be the same.

 

http://www.melmira.com/shop/11-bras

 

Whenever I click the x to cancel, or the arrows to hide the items, it links to '#' and jumps to the top of the page.

 

Edit: I'm starting to think that maybe it has something to do with the Ajax. Not sure what. But it seems like even if I check off a bunch of the boxes, nothing happens (should something be happening?).

Link to comment
Share on other sites

@ gennybeans

 

Check in back office if block layered is placed in header hook, because I don't see js and css files that should be loaded

with layered block

I see that you use Matrice theme so maybe it have some problems with ajax or not fully comatible with 1.4.5.1.

Also try if block layered works with default theme.

Link to comment
Share on other sites

I installed the new version for 1.4.5.1, but my problems were still there:

 

1. I cannot hide filter values with no product is matching

 

2. the numbers in brackets are not exact (or maybe the filter uses different criteria to calculate the number).

For example I've got

filter by

category:

chairs (9)

manufacturer:

manu001 (16)

 

I don't understand the 16

---

 

For the first problem I took a look at the code and came out with this solution:

 

 

I added a condition to <li> and <input type="checkbox"> generators in blocklayered.tpl

 

{if !$value.nbr} class="disabled"{/if}

 

so these elements took the "disabled" class too.

 

Then I add a simple display:none; to the disabled class in blocklayered.css

 

I also add a

div.block li.disabled {padding: 0;}

in my global.css to avoid empty entities to appear.

 

Maybe this trick will help someone else too ;-)

 

 

Any idea for the second issue?

Thanks,

 

-Simone

 

---

here are the changes I made to blocklayered.tpl:

 

{foreach from=$filter.values key=id_value item=value}
	<li {if !$value.nbr} class="disabled"{/if} class="nomargin">
	{if isset($filter.is_color_group) && $filter.is_color_group}
	 <input type="button" name="layered_{$filter.type_lite}_{$id_value}" rel="{$id_value}_{$filter.id_key}" id="layered_id_attribute_group_{$id_value}" {if !$value.nbr} value="X" disabled="disabled"{/if} style="background: {if isset($value.color)}{$value.color}{else}#CCC{/if}; margin-left: 0; width: 16px; height: 16px; padding:0; border: 1px solid {if isset($value.checked) && $value.checked}red{else}#666{/if};" />
	 {if isset($value.checked) && $value.checked}<input type="hidden" name="layered_{$filter.type_lite}_{$id_value}" value="{$id_value}" />{/if}
	{else}
	 <input type="checkbox" {if !$value.nbr} class="disabled"{/if} class="checkbox" name="layered_{$filter.type_lite}_{$id_value}" id="layered_{$filter.type_lite}{if $id_value || $filter.type == 'quantity'}_{$id_value}{/if}" value="{$id_value}{if $filter.id_key}_{$filter.id_key}{/if}"{if isset($value.checked)} checked="checked"{/if}{if !$value.nbr} disabled="disabled"{/if} />
	{/if}

 

and to blocklayered.css:

 

#layered_block_left ul li .disabled {
color: #666;
display: none;
}

 

Developing http://www.container...p?id_category=2

Link to comment
Share on other sites

Hi everybody,

If you are running 1.4.5.1 and haven't done so already, please download the latest update to the Layered Navigation module just released today, which incorporated many of your comments, concerns and suggestions to create a much improved module.

 

You can find the latest update here: http://www.prestashop.com/forums/topic/138054-update-to-layered-navigation-module-for-1451-only/

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...