Developer forum

Forum » Rapido » Cart link/icon shown in mobile navigation when not signed in

Cart link/icon shown in mobile navigation when not signed in

Peter Leleulya
Reply

Hi guys!

I have a Dw965 With Rapido31 solution.
My mobile navigation shows a cart link/icon next to the hamburger menu button while not being signed in.
The desktop navigation does not shot  a cart link/icon while not being signed in.

My website configuration > ecommerce > general > Only preview for anonymous users is set to TRUE

I think this is a bug, It should never show a cart link/icon when not signed in.

 

Capture-MobileNav1.PNG

Replies

 
Jennifer Johansen Dynamicweb Employee
Jennifer Johansen
Reply

Hi Peter 

I have reproduced this bug 64272  on Rapido 3.1 and will be fixed in the next Rapido hotfix release 

 
Peter Leleulya
Reply

Thanks Jennifer ...
I've had quite a few 'this will be released in the next hotfix' and 'this will be released in 3.1.1' reactions ...
Do you have an estimate on when these relases are?
I can't seem to find any info on that ...
I need it to make a planning and not making promises I have to break ...

 
Jennifer Johansen Dynamicweb Employee
Jennifer Johansen
Reply

The Rapdio 3.1.1 hotfix will be released on 23.maj 2019

 
Peter Leleulya
Reply

Thanks for your feedback Jennifer

 
Peter Leleulya
Reply

Don't think it got hotfixed ...

 

@helper RenderMobileTopMiniCart()
{
    if (Model.CurrentUser.ID != 0)
    {
        int miniCartFeedPageId = GetPageIdByNavigationTag("MiniCartFeed");
        int cartPageId = GetPageIdByNavigationTag("CartPage");
        double cartProductsCount = Model.Cart.TotalProductsCount;
        <li class="menu__item menu__item--horizontal menu__item--top-level dw-mod" id="miniCartWrapper">
            <div class="mini-cart dw-mod">
                <a href="/Default.aspx?ID=@cartPageId&Purge=True" id="miniCartCounterWrap" class="menu__link menu__link--icon menu__link--mobile dw-mod js-mini-cart-button">
                    <div class="u-inline u-position-relative">
                        <i class="@Pageview.AreaSettings.GetItem("Layout").GetItem("Icons").GetList("CartIcon").SelectedValue  fa-1_5x"></i>
                        <div class="mini-cart__counter dw-mod">
                            <div class="js-handlebars-root js-mini-cart-counter" id="cartCounter" data-template="MiniCartCounterContent" data-json-feed="/Default.aspx?ID=@miniCartFeedPageId&feedType=Counter" data-init-onload="false" data-preloader="false">
                                <div class="js-mini-cart-counter-content" data-count="@cartProductsCount">
                                    @cartProductsCount
                                </div>
                            </div>
                        </div>
                    </div>
                </a>
            </div>
        </li>
    }
}

 

You must be logged in to post in the forum