posted on July 1, 2010 08:31:40 AM new
Hi Chris & Nathan,
Is there a way to specify how to sort my items on the products page? I.e. right now they sort by name, but I would like to sort them according to the best product.
Thanks,
Ania
ModernHomeArt.com
It is possible to change the display order of your Vendio Store Inventory using Advanced Mode in the Template Editor. While it is not possible to sort them by best product specifically, we currently have support for displaying the items ordered by price - descending and ascending - as well as by title - descending and ascending.
To change the order of your Store Items, access Template Editor, and enable Advanced Mode. Hover your cursor over the HTML option and click on the “content/category.html” option to access the content page.
A pop-up will appear which allows you to edit the HTML content of the Category pages. You will need to add specific “verb=GII” text immediately after the text on the second line of the file. For instance, if you wanted to:
- display the items ascending by price, the verb=GII text that needs to be added should be:
&GII.sortBy=price&GII.orderBy=ASC
- display the items descending by price, the verb=GII text that needs to be added should be:
&GII.sortBy=price&GII.orderBy=DESC
- display the items descending by title, the verb=GII text that needs to be added should be:
&GII.sortBy=title&GII.orderBy=DESC
- display the items ascending by title, the verb=GII text that needs to be added should be:
&GII.sortBy=title&GII.orderBy=ASC
Once this change is completed, the second line in this file should look like this:
<h1rst:xml:itemsinfo="{context:__storesapiurl}?verb=GII&GII.sortBy=price&GII.orderBy=ASC&GII.store={context:__store}&GII.detailLevel=1&GII.catId={context:catId}&GII.searchString={context:searchString}&GII.pageNo={context:page}&GII.pageSize=99{mature}"rst:session:lastvisited="{context:__currenturl}"><b><a rst:if="{path}"rst:href:pagename="category" rst:href:catId="{context:catId}"rst:content="{path}">Title</a></b><!-- Title --></h1>
Making this edit will change the Item Order for the All Products page, as well as the individual Category pages.
To change the order for the Featured Items page, you would edit the “modules/featured.html” page and add the same text, as referenced above, after the verb=GII text on the third line of the file.
posted on July 1, 2010 11:30:21 AM new
Ok thanks, easy enough. Tried this and it is sorting differently now. Are title and price the only options for sorting right now, or could I sort by item number? Ultimately I'm trying to arrange my items by my own preference, so if item sorting was available maybe I could do this by changing the item numbers to manipulate the order to my liking.
Also, question of a different subject:
I started messing around with adding meta data tags into my home page center area. Is this the correct place to add to have them indexed properly by search engines? Reason I'm asking is b/c meta data tags from what I know are to be added after <html> and ahead of <body> in the code, but neither of those show up on the advanced code editor.
Unfortunately, it is only possible to sort by either title or price.
The best place to add the tags for your categories is by going to "Stores" --> "Categories" --> select the category and click "Edit" --> then fill in the "Meta Keywords" and "Meta Description" section. For the Store itself, the best place to put this information is under "Store" --> "Info & Policies" --> "Description" and "Keywords". There are also a couple Vendio Blog posts that you might find useful:
There are no specific plans that I am aware of to make this change currently. However we are constantly improving the Store, and it is possible we will add this option in the future.
In order to request that your Store be featured, please send a message to [email protected].