I look at my users, and they don't have a priceList assigned to profile.
But I never assigned it, and in another project that I did recently it works in a good way, just doing sortProperties=+sku.listPrice.
Any other idea?
Thanks a lot.
/atg/commerce/pricing/priceLists/PriceListManager set defaultPriceList to ur priceList.
I saw another two app that the sort by price option works well, and the apps have this property defaultPriceList with null value.
Can you tell why I have do set this property like you said?
Thanks in advance
as u mentioned sku.listPrice - is returning null. so u have nt set the list price in the catalog... nw u want the price to be picked up from price list -
U need to specify which priceList to be used to check for price...
check the apps u mentioned above - wht are the setting defined for Pricing Engines and calculators...
Now I am passing the priceList and salePriceList, getting from Profile.priceList and Profile.salePriceList.
I checked and the lists are being passed ok, priceList:plist270005 and priceList:plist270009.
But still is not sorting by price.
Any other point?