Shopping Cart - Note

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
How can I display in the Shopping Cart a NOTE for the Customer at the bottom of the cart and before the "Continue Shopping" & "Update Shopping Cart"?

We are using nopCommerce (no-source-code version) ver 4.0 so changes must be done within the cshtml pages.
5 years ago
Edit \Presentation\Nop.Web\Views\Shared\Components\OrderSummary\Default.cshtml
Add a resource string ShoppingCart.Note where you want it as below
            
          <div class="cart-options">
                @if (Model.IsEditable)
                {
                    <label class="your-class">@T("ShoppingCart.Note")</label>
                     <div class="common-buttons">
                        <input type="submit" name="updatecart" value="@T("ShoppingCart.UpdateCart")" class="button-2 update-cart-button" />

Edit the language settings to set the string ShoppingCart.Note to the note you want plus any html you want
e.g. </br><p><b>Note: </b>This is a note</p></br></br>
Set your-class css to format it
5 years ago
Works like a charm Yidna. Thanks!

Yidna wrote:
Edit \Presentation\Nop.Web\Views\Shared\Components\OrderSummary\Default.cshtml
Add a resource string ShoppingCart.Note where you want it as below
            
          <div class="cart-options">
                @if (Model.IsEditable)
                {
                    <label class="your-class">@T("ShoppingCart.Note")</label>
                     <div class="common-buttons">
                        <input type="submit" name="updatecart" value="@T("ShoppingCart.UpdateCart")" class="button-2 update-cart-button" />

Edit the language settings to set the string ShoppingCart.Note to the note you want plus any html you want
e.g. </br><p><b>Note: </b>This is a note</p></br></br>
Set your-class css to format it
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.