PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 5/14/2020 9:48 PM by  Will Strohl
 2 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
You are not authorized to post a reply.
Author Messages

Basic Member

5/13/2020 5:59 PM
    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

    Basic Member

    5/13/2020 6:45 PM
    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

    Veteran Member

    5/14/2020 9:48 PM
    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
    You are not authorized to post a reply.

    • Sign-up for the Hotcakes Community Newsletter: