logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gdatz  
#1 Posted : Sunday, July 2, 2017 10:29:14 AM(UTC)
gdatz

Rank: Member

Groups: Registered
Joined: 7/1/2017(UTC)
Posts: 21
Austria
Location: Vienna

Thanks: 1 times
Hi all,
maybe this helps somebody who is struggling with some issues in v.3.5.11 like me.

- NBS_FullCart.cshtml:
- starting at line 30 there is a problem that the "cart empty" message will be hidden if the amount not > 0
just move the <div id="checkoutitemlist"></div> above the "cartdetails" div
otherwise the cartempty message gets hidden by the js together with the checkout buttons

Code:

        <!-- MOVE IT HERE --->
        <div id="checkoutitemlist"></div>
        <!-- ------------------------ -->

        <div id="cartdetails" class="nbs dnnform" style="display: none;">

            <!-- REMOVE IT FROM HERE 
            <div id="checkoutitemlist"></div>--->

            <div style="clear: both;">
                <a href="javascript:void(0)" id="cmdDeleteCart" class="secondarybutton clearcart">@ResourceKey("CartView.cmdClearCart")</a>
                <a href="javascript:void(0)" id="cmdRecalcCart" class="secondarybutton recalculatecart">@ResourceKey("CartView.UpdateCart")</a>
                <a href="javascript:void(0)" id="cmdGoCheckout" class="primarybutton">@ResourceKey("CartView.Next")</a>
            </div>

        </div>


- NBS_FullCartList.cshtml
- the ressourcekey for the cart-empty message does not exist in this "wording" as written in line 167 of this file
Code:

   <div id="cartempty">
        <div class="nbs dnnform">
            <!-- NO TEXT SHOWN IN THE h3 TAG BECAUSE THE KEY IN THE RESSOURCEFILE IS MISSING -->
            <h3>@ResourceKey("CartView.emptybasket")</h3>
            <a class="primarybutton" href="@(Globals.NavigateURL(Model.GetSettingInt("productlisttab")))">@ResourceKey("CartView.returntostore")</a>
        </div>
    </div>


Just rename "Cartview.emptybasket" to "Cartview.cartempty" to get thetext there from the "CartView.ascx" resourcefile or add a new key to the resourcefile that matches the template

hope this helps top make NBrightBuy even better
regards
Gerald

Edited by user Sunday, July 2, 2017 10:30:48 AM(UTC)  | Reason: Not specified

Mostafa Naderi  
#2 Posted : Monday, September 10, 2018 3:49:24 PM(UTC)
Mostafa Naderi

Rank: Newbie

Groups: Registered
Joined: 9/10/2018(UTC)
Posts: 0
Iran (Islamic Republic Of)
Location: tehran

hi
can i help my
i want download new template for product list and product details code for my website.
please send link
tanks.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.051 seconds.