Announcement

Collapse
No announcement yet.

Power Search oddity

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Power Search oddity


    I had a site that is using a very customized Power Search so this may take a few lines to go through all of it.

    The issue: I can no longer easily change the "Sort By" method.

    I changed the hiden input for the search box to include

    Code:
    <input type="hidden" name="sort" value="code.asc">
    I changed the CTGY Default Sort Method: to Code Ascending

    Here's where it gets tricky. On the SRCH Page (when using the Power Search module) there is no CSSUI Product List.

    I was thinking I had done something super simple to change the Sort By since all of the template code is looking for Global Sort

    Code:
     <input type="hidden" name="sort" value="&mvt:global:sort;" />
    I have tried to go back in and change the Global Sort to Code Ascending but the Power Search continued to use the newest. I, for the life of me, cannot find where I had set it to that.

    I had to use a workaround fix where I change the &mvt:global:sort; to code.asc in the hidden field.

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Working...
X

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept