3ART Technologies
2020-05-13T21:59:28Z
Hi,
I have implement the below code to get the product tab id and it's working fine with multiple language
*********** Get Category Page TabID **************
var HccApp = HccAppHelper.InitHccApp();
var productPage = HccApp.CurrentStore.Settings.Urls.ProductTabId;
return DotNetNuke.Common.Globals.NavigateURL(productPage,"",param).ToString();

Working Perfect (Y)

But when i use the same login to get category page tab id its only returning me English Page Tab ID
var HccApp = HccAppHelper.InitHccApp();
var CategoryTabId = HccApp.CurrentStore.Settings.Urls.CategoryTabId;
return DotNetNuke.Common.Globals.NavigateURL(CategoryTabId, "", param).ToString();

I already rechecked Setting > Page Configuration and all is good both languages have setup values

Why this is behaving like that

3ART Technologies
2020-05-13T22:45:13Z
The previous solution also workable here. I have replace DotNetNuke.Entities.Modules.PortalModuleBase
**** Import DNN web class
using Hotcakes.Commerce.Dnn.Web;

*** Inherit hotcake module class instead of DotNetNuke.Entities.Modules.PortalModuleBase
public partial class Splash_Categories : HotcakesModuleBase
Will Strohl
2020-05-15T01:48:26Z
So, I'm not sure if I understand... Did you get it working? 🙂
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Users browsing this topic
    Loading
    • Sign-up for the Hotcakes Community Newsletter: