Sort for sobipro documentation

Installing and Configuring the Plugin

  • install "sobiSort.zip" through sobipro Application manager.
  • go to the section where you want to use the plugin, open section application slide and then click on "applictions"
  • enable "sobipro sort plugin"
  • after that you will notice that a link - sort plugin -has been added to the "section applications" slide, click it
  • now, you are in the plugin admin side; you can set which fields you need to show in the order by select list.

Showing the order by select list in the front-end

  • files to modify:
    -- YOUR_SOBIPRO_TEMPLATE/section/view.xsl
    -- YOUR_SOBIPRO_TEMPLATE/category/view.xsl
  • there are two ways you can use the plugin
    -- list which show a select list
    -- buttons for each field when clicked will sort the entries according to the field
  • paste the following in the suitable place in your html mark-up - basic html knowledge needed here - :-
    Sort list :

    <xsl:value-of select="sort/list" disable-output-escaping="yes" />

    button :

    <xsl:value-of select="sort/field_yyy" disable-output-escaping="yes" /> 

    where "field_yyy" is the field id, but you should make sure that the field you type is chosen in the plugin back-end

Category: 

Comments

Hello

I've installed this component and when I try to find using the sort criteria a 500 error raises. The backoffice works fine (configuration plugin, etc).

The version that I've installed is the latest versión.

¿Any idea?

Hello,
i installed plugin and put sort list to the template (in view.xsl i can see sort list; when i put code into vcard.xsl, sort list is not present). But it doesn't matter what field i choose or direction, product list is in default order all the time.

Any idea?

My fault with vcard.xsl i put in section and category view.xsl and i can see sort list there. But still sorting is not working at all.

Hi,

Hi,
Could you send me a link to your website?