You are here:  » Filter widget


Filter widget

Submitted by henk on Thu, 2012-11-08 19:58 in

Hi David,

two more things, is it possible to let the filter stay on product page?
And if this > character is in category it doesn't give any result.

Thx
Henk

Submitted by support on Fri, 2012-11-09 11:28

Hi Henk,

The Sidebar Filters widget doesn't have any context to apply to on the product page. Did you want it to work more as "Advanced" search form?

">" should be removed from the category name via normalisation; could you post a link (I'll remove before publishing your reply) showing where this is appearing / not working and I'll check it out...

Cheers,
David.
--
PriceTapestry.com

Submitted by henk on Fri, 2012-11-09 12:30

Hi,

Is working on this link: >

{link saved}

Not on this one

{link saved}

The filter would be easy when you have selected the filters and then go to product the widget is gone so you must go a page back to have the filter again.

Henk

Submitted by support on Fri, 2012-11-09 13:29

Hi Henk,

Thanks - in order to permit characters such as ">" in your Category and custom filter, it's probably best not to normalise $pto_q (which is actually safe to do; the only side effect is that URLs can appear "ugly" with encoding such as %C4).

To do this, in pto.php look for the following code around line 356:

  $pto_q = (isset($pto_q)?pto_common_normalise(urldecode($pto_q),":\."):"");

...and REPLACE with:

  $pto_q = (isset($pto_q)?urldecode($pto_q):"");

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by henk on Fri, 2012-11-09 13:48

http://www.pricetapestry.com/node/4704

$pto_q = (isset($pto_q)?pto_common_normalise(urldecode($pto_q),">:\."):"");

This one worked :)

Thx
Henk