You are here:  » Mobile Product Filter Display


Mobile Product Filter Display

Submitted by stew on Tue, 2016-09-27 20:07 in

Hi David,

Hope all's well with you.

Not sure if you can help here.

I'm using the PT Wordpress plugin and am trying to display a product refine option similar to how ASOS offer theirs here:

{link saved}

I nearly have it very similar, if you view on a mobile and click "Refine" for example:

{link saved}

however what I can't seem to do is display the choices selected after the user clicks apply, for example in orange here:

{link saved}

The developer I'm working with has said it's not an option within the plugin and they can't display them once the user has clicked apply.

Any ideas if this is easily do-able?

Many Thanks,

Stew

Submitted by support on Wed, 2016-09-28 08:13

Hello Stew,

Great looking site!

What you could do is to add support for placeholders which you can include in the Main / Search Filters Widget template to be swapped out with the values currently in effect. For example, to add support for:

%SIZES_VALUES%

...edit your modified pto_search.php and look for the following code at line 1078:

  return $html;

...and REPLACE with:

  if (count($pto_sizeFilter))
  {
    $html = str_replace("%SIZES_VALUES%",implode(",",$pto_sizeFilter),$html);
  }
  else
  {
    $html = str_replace("%SIZES_VALUES%","",$html);
  }
  return $html;

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by stew on Tue, 2016-10-04 20:50

Hi David,

Many thanks for this & re the kind comment on the site! It took a fair while to get the design etc in place but hopefully will generate traffic etc.

Brilliant - thank you for the help here, am trying this now within pto_search.php

Hope all's well with you,

Many thanks

Stew