Please refer this following url http://www.trendycollections.in/kids-wear/boys-wear.html
All sorting is working Fine. But I have different issue. In the above url if i chose Price lowest under the sort by option then i will move to http://www.trendycollections.in/women-collections/sarees/designer-sarees.html, That category page also having Price lowest sorting.
If i chose price highest,Next category page also sorting by price highest
I think, i need to reset sort by option. I have set default sorting under system->config->catalog->front end->Product Listing Sort by as Best value. I can’t find where am i doing wrong here. if anybody know, please help me guys
The sort order parameter is stored in session.
You can switch it off by calling Mage_Catalog_Block_Product_List_Toolbar::disableParamsMemorizing method
OR
by setting params_memorize_allowed in catalog session. Mage::getSingleton('catalog/session')->setParamsMemorizeAllowed(true)
Related
I am trying to setup a QUERY with dynamic ordering. I've tried to link the ORDER BY function to the output of the dropdown menu but that doesnt seem to work. I have recreated the problem with a simple example: https://docs.google.com/spreadsheets/d/1m3Lhm5lp2DW7XF8hRbDAiOAAsOyCXrie-Nc-0bWG6hA/edit?usp=sharing
I've created a table (3x4) with three variable and would like to dynamically sort the table by each variable through QUERY both ascending and descending.
Would also be interested to learn if it's possible to dynamically setup the direction (ACS or DESC).
Any suggestions would be much appreciated.
Kind regards,
Webko
try:
=QUERY({A2:C6}, "order by Col"&MATCH(F1, A2:C2, 0)&" "&G1)
where G1 dropdown is asc,desc
I'm bit confused with Algolia settings releated to sorting, specifically in the dashboard I created new replicas, products_price_asc & products_price_desc. Then I come to the ranking formula and added a "price" attribute to the sorting.
However, it allows me to pick up the price attribute only once, so as to specify the sorting order of the price.
So the result is, that I have a dropdown menu with 2 options (price order ASC and DESC), but only one of them works correctly.
It's my first day with Algolia, so maybe I've missed something, but if anyone can explain me, how to implement this, I'll be happy.
Thanks in advance.
Creating replicas for sorting is the right first step: you need one replica per sorting order (in your case, one for sorting by price DESC, and one for sorting by price ASC).
But you need to update the Ranking Formula on the replicas themselves, not on the main index.
So, on products_asc, you should set this:
And on products_desc, you should set this:
Now, when you need to order results by ascending price, you should target the products_asc index for your search. When ordering by price descending, it will be products_desc.
On a number of reports I have noticed that setting sort options through the tablix properties does not work. I choose the data I'd like to sort by (date) and set the option (Z to A), but the report still shows unsorted. Has anyone else seen this issue? I have read that updating the report xml to include the sort may be what needs to be done because the report builder does not preserve the changes made. Haven't gone down that road yet as I'm looking to see if there's a fix already identified.
Date Type Lead Name State distance Consultant ZIP State 1 Level Reason url
Those are the columns from the export with data filling each column. Can't give too much info because it shows phone numbers and addresses.
One option is to sort the data in your dataset. Then you can leave it and SSRS will honor that.
As the others mentioned, make sure you check the datatype so it's not trying to sort the dates as a string.
Set the sort priorities at the group level, not on the table or dataset properties.
You should never have to edit the XML to get this to work. This is a basic built-in feature that most reports use.
Do you have groups on your tablix? if yes, did you try sorting it with the Row Groups or Column Groups at bottom instead of the sorting properties of the tablix?
I have a grid in front end. and i need to put sort function for that grid column. I need to sort by billing name. I add bellow code into my collection;
if(!empty($data['sort_billto'])){
$collection->addAttributeToSort('billing_name', $data['sort_billto']);
}
From $data['sort_billto'] i am getting asc oe desc. That's fine, because this way works for int values. But not working for string, billing name.
Can anyone please help me.
Thank You
Usually your code should work, the problem may seem elsewhere. Give this a try
$collection->setOrder('billing_name', $data['sort_billto'])
If this doesnt work, debug your complete code.
HTH
One of my magento site shows zig-zag order numbers from admin panel sales->orders. I guess, it should be auto incremented. There is possiblity to skip few numbers due to uncompleted orders. But i get unusual number for an order. Last order id was 100001922 and i get order id for latest order 100001300. can anybody help me as i need to figure out the reason.