Can someone tell me what fields are returned with GetFeaturedProducts so I can determine what sort options I have, or else point me to the documentation that tells me about this function!
Thanks!
GetFeaturedProducts sortExpression options
-
- Ensign (ENS)
- Posts: 18
- Joined: Fri Apr 20, 2018 7:32 am
Re: GetFeaturedProducts sortExpression options
Hi,
ProductDataSource.GetFeaturedProducts() returns a list of products. You can use any of the Product field for sorting.
Thanks,
ProductDataSource.GetFeaturedProducts() returns a list of products. You can use any of the Product field for sorting.
Thanks,
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
![Image](http://forums.ablecommerce.com/a_logo_trans.gif)
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Ensign (ENS)
- Posts: 18
- Joined: Fri Apr 20, 2018 7:32 am
Re: GetFeaturedProducts sortExpression options
Thanks - as a follow up question...
I don't see where you can set the OrderBy value in the Products table. I know using the sort field in the catagory section updates the OrderBy in CatalogNodes, but I don't see how you can set the order by for individual products. Where is this located, or how can one do this (other than directly modifying the database?)
I don't see where you can set the OrderBy value in the Products table. I know using the sort field in the catagory section updates the OrderBy in CatalogNodes, but I don't see how you can set the order by for individual products. Where is this located, or how can one do this (other than directly modifying the database?)
Re: GetFeaturedProducts sortExpression options
Product OrderBy value is automatically recalculated based on category sort order. It is recalculated when you sort the categories.I don't see how you can set the order by for individual products.
Sorry there seems no option to set the the OrderBy for individual products, however you can batch edit product by exporting the products data and update the data and re-import.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
![Image](http://forums.ablecommerce.com/a_logo_trans.gif)
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter