New Zenner
- Join Date:
- Oct 2005
- Posts:
- 90
- Plugin Contributions:
- 0
Sort by price with column display....
manada:
OK, i just look on this problem closely. I think we could go around like this:
At the beggining of tpl_modules_product_listing.php I entered as follow:
For ascending sorting link
echo '<a href="' . zen_href_link(FILENAME_DEFAULT , "cPath=$cPath") . "&sort=2a" . '">' . "Sort By Price (Asc)" . '</a><br>';
>
> For descending sort. link;
>
> ```
echo '<a href="' . zen_href_link(FILENAME_DEFAULT , "cPath=$cPath") . "&sort=2d" . '">' . "Sort By Price (Asc)" . '</a><br>';
I know , its a little bit "off-zen" but it works.
Adam
Hmm. I tried this, but it doesn't actually sort the products as intended. It seems almost random. I wonder if I need to have the product listing settings set to something in particular to get it to work?
http://craftsbury.lbdclients.com/index.php?main_page=index&cPath=4_12