Hello All,
Would anyone be able to shed any light on why my What's New (New Arrivals) section isn't showing up on the mobile version of my AC Gold site? Here's my URL. Feel free to check. It's the first category on our site.
http://www.drumcityguitarland.com
When you click on this category on the mobile site, it says "No products are currently available in this category". However, it displays just fine in my PC based browser. I've tried with both Iphone and Android mobile environments. Thanks in advance for any help!
Dennis
Whats New Category not showing up on Mobile site
Re: Whats New Category not showing up on Mobile site
Category page under /mobile module doesn't load products recursively from sub categories. On main website you seems to be using Deep Display which lists products not only from category itself but from any of its sub categories.
For mobile website we choose to list the minimal data considering the limitations for small devices. You may alter the code to make it recursive or recursive for just one category. If you edit /mobile/category.aspx.cs file and locate following code
then update it like
This will now try to list products from any of sub categories under "New Arrivals" category. For any other category it will load just from category itself just like before this change.
For mobile website we choose to list the minimal data considering the limitations for small devices. You may alter the code to make it recursive or recursive for just one category. If you edit /mobile/category.aspx.cs file and locate following code
Code: Select all
ProductList.DataSource = ProductDataSource.LoadForCategory(true, _categoryId, false, true, SortResults.SelectedValue, _pageSize, (_hiddenPageIndex * _pageSize));
Code: Select all
ProductList.DataSource = ProductDataSource.LoadForCategory(true, _categoryId, _categoryId == 990, true, SortResults.SelectedValue, _pageSize, (_hiddenPageIndex * _pageSize));
Re: Whats New Category not showing up on Mobile site
Hello mazhar,
Thank you for your reply. This code change did not affect anything on the mobile site after I implemented it. Do you have any other suggestions or ideas? Thank you very much!
Thank you for your reply. This code change did not affect anything on the mobile site after I implemented it. Do you have any other suggestions or ideas? Thank you very much!